[ntp:questions] sync immediately
jarrar at cisco.com
Mon Oct 3 19:35:07 UTC 2005
You can do it in few ways. Suppose your client computer is A and Syncs
with The NTP server (ntp.server.com).
1) When you are booting up or installing and ntpd is not running. In
that Cases (though not reliable) I have used
$ ntpdate ntp.server.com
Ntpdate wont work if ntpd daemon is working and using the NTP port.
2) The possibility is what I call "NTP One Shot Sync", you do that with
$ ntpd -q -g
In my experiments I have seen it to take on average about 1~2 mints, you
need to Have /etc/ntp.conf configured for this to work.
"-g" Tells ntpd to ignore > 1000s adjustment check and set it to the
current time As per on the configured servers
"-q" Means once you set the time quit. This makes it almost replacement
From: questions-bounces at lists.ntp.isc.org
[mailto:questions-bounces at lists.ntp.isc.org] On Behalf Of ibrahim Akyildiz
Sent: Monday, October 03, 2005 12:20 AM
To: questions at lists.ntp.isc.org
Subject: [ntp:questions] sync immediately
How can i configure my ntp clients for immediately synchronize with ntp
ibrahim Akyildiz wrote:
>How can i configure my ntp clients for immediately synchronize with ntp server?
>*** Imagination is more improtant than the knowledge ***
>Yahoo! for Good
> Click here to donate to the Hurricane Katrina relief effort.
>questions mailing list
>questions at lists.ntp.isc.org
More information about the questions