[ntp:questions] ntpd -q and driftfile

unruh unruh at wormhole.physics.ubc.ca
Tue Mar 22 07:13:05 UTC 2011


On 2011-03-22, prashant sherin <pvsnmp at yahoo.com> wrote:
> Hi,
> I would like to know if ntpd would use the driftfile specified in /etc/
> ntp.conf file if it is run periodically using crontab with -q option
> as below:
>
> /usr/sbin/ntpd -u ntp:ntp -p /var/run/ntpd.pid -g -q -L eth0
>
> I do not find any drift file being created at the specified location.

How can it? All that does is to, like ntpdate, reset the clock to the
correct time. It does not run long enough (ie about 10 hrs) to determine
the drift rate of the clock. 

It has no idea what the drift rate is. 

>
> Thanks and Regards,
> Prashant




More information about the questions mailing list