[ntp:questions] ntp.drift file

Dave Hart davehart at gmail.com
Thu Dec 9 01:35:00 UTC 2010

Paweł Stankowski <stankowskip at gmail.com>:
> I want to ask what information ntp.drift file contains?

It's the frequency correction ntpd was applying to the local clock, in
parts per million.

> Is it a parameter which I can read from ntp daemon?

ntpq -crv shows it.  To see only the frequency= value, ntpq -c "rv 0 frequency"

> And when the file is rewriting?

Newer versions are more adaptive depending on how much the value is
changing, but historically it was once an hour, and I believe in the
latest ntp-dev it is no more often than once per hour, less if the
value isn't changing much.

Dave Hart

More information about the questions mailing list