[ntp:questions] Re: sync immediately

Steve Kostecke kostecke at ntp.isc.org
Mon Oct 3 23:46:25 UTC 2005


On 2005-10-03, Jarrar Jaffari <jarrar at cisco.com> wrote:

> $ ntpd -q -g

This usage of ntpd will block your start-up. If you're not running
extremely time critical applications and/or you don't want to wait for
the clock you are better off just starting ntpd (as a deamon) with
'-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.

FWIW: My tests of 'ntpq -g -q' found that, under ideal conditions, the
time setting can occur in as little as 11 seconds.

-- 
Steve Kostecke <kostecke at ntp.isc.org>
NTP Public Services Project - http://ntp.isc.org/




More information about the questions mailing list