[ntp:questions] Re: drift?

Tom Smith smith at cag.lkg.hp.com
Wed Jan 26 19:12:41 UTC 2005


"ntpdc -c loopinfo localhost" shows you the current drift
(frequency correction). Periodically, ntpd writes this to
/etc/ntp.drift. That file contains the value when the file
was last written. Your values are high and indicate an
unstable system. If they remain that high after a few days,
you might want to look more closely at your configuration.
You should expectt to see an absolute value of 25 or less
in a modern system that has been running for a few days
with reliable reference clocks.

-Tom

Folkert van Heusden wrote:
>>> Is there a way to query the drift of an NTP-server over the network 
>>> using,
>>> e.g., ntpq?
>>
>> You mean the value of the ntp.drift file?
>> I think "ntpdc -c loopinfo" gives that (frequency).
> 
> 
> Are you sure? Because:
> 1 root at muur:/usr/src/ntp-4.2.0/parseutil$ ntpdc -c loopinfo localhost
> offset:               0.092667 s
> frequency:            -307.369 ppm
> poll adjust:          6
> watchdog timer:       1280 s
> 
> and:
> 0 root at muur:/usr/src/ntp-4.2.0/parseutil$ cat /etc/ntp/drift
> -146.423
> 
> 
> 
> Folkert van Heusden
> 
> Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden!
> +------------------------------------------------------------------+
> |UNIX admin? Then give MultiTail (http://vanheusden.com/multitail/)|
> |a try, it brings monitoring logfiles to a different level! See    |
> |http://vanheusden.com/multitail/features.html for a feature list. |
> +------------------------------------------= www.unixsoftware.nl =-+
> Phone: +31-6-41278122, PGP-key: 1F28D8AE


-- 
________________________________________________________________________
Tom Smith                       smith at alum.mit.edu,smith at cag.lkg.hp.com
Hewlett-Packard Company                          Tel: +1 (603) 884-6329
110 Spit Brook Road ZKO1-3/H42                   FAX: +1 (603) 884-6484
Nashua, New Hampshire 03062-2698, USA           Mobile: +1 978 397 3411



More information about the questions mailing list