[ntp:questions] Getting precise variables?

Mike S mikes at flatsurface.com
Thu Nov 1 14:00:22 UTC 2012


Is there any way to poll ntp for full precision variables?

If you do an ntpq query for offset, you get 1 us precision:

> locke:~# ntpq -c "rv 0 offset" locke
> offset=-0.001

But loopstats records offset with 1 ns precision:

> locke:~# tail -n 1 /var/log/ntpstats/loopstats.20121101
> 56232 50257.989 -0.000001426 0.039 0.000000000 0.000774 4



More information about the questions mailing list