> On 31 Oct 2014, at 15:30, Kenyon Ralph <[email protected]> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On 2014-10-31T14:57:46+0700, "Gerriet M. Denkmann" <[email protected]> 
> wrote:
>> My computer (OS X 10.10) runs ntpd.
>> 
>>> ntpd --version
>> ntpd - NTP daemon program - Ver. 4.2.6
>> 
>> It writes the drift value I am interested in to
>> /private/var/db/ntp.drift at shutdown and one hour after start/
>> change of ntp servers.
>> 
>> But I would like to know the current value of the used drift (just
>> idle curiosity).
>> 
>> How?
>> 
>> Can one force ntpd to write the current value to ntp.drift? Can ntpq
>> be of help?
> 
> This is more of a question for the NTP questions list rather than this
> pool list, but...

Sorry for using the wrong list!

> 
> The value in the drift file is a snapshot of the clock frequency. You
> can see the current frequency in the output of "ntpq -c rv", or "ntpq
> - -c 'rv 0 frequency'" for just the frequency. See
> http://doc.ntp.org/4.2.6p5/ntpd.html and Clock Discipline Algorithm in
> the current docs: http://www.eecis.udel.edu/~mills/ntp/html/warp.html

Thanks a lot! This is exactly what I was looking for.
If only the man page for ntpq would be a little more detailed. No mention of 
"rv" (read variable ?) there.
And no list of possible variables (or explanation of their meaning).

Again, thank you very much for your help.

Kind regards,

Gerriet.

_______________________________________________
pool mailing list
[email protected]
http://lists.ntp.org/listinfo/pool

Reply via email to