[ntp:questions] ntpd -q and driftfile

prashant sherin pvsnmp at yahoo.com
Tue Mar 22 06:56:11 UTC 2011


> ntpd is intended to for continuous, not periodic running.  You are not
> using it correctly.
>
> Cheers,
> David

Thanks for the quick reply.
ntpd does allow us to run this way. From the ntpd man page:

 -q      Exit the ntpd just after the first time the clock is set.
This behavior mimics that of the ntpdate program, which is to be
retired. The -g and -x  options  can
               be used with this option. Note: The kernel time
discipline is disabled with this option.

The idea is to use it as ntp client.

Thanks and Regards,
Prashant




More information about the questions mailing list