[ntp:questions] ntpq -p versus ntpstat

E-Mail Sent to this address will be added to the BlackLists Null at BlackList.Anitech-Systems.invalid
Wed Apr 6 18:32:45 UTC 2011

Gautam Thaker wrote:
> I am running ntp on a fedora 12 machine.
> The time sync error/offset values reported by ntpserver
>  and "ntpq -p" are quite different.
> I have always tended to rely on "ntpq -p".
> Is there an explanation for this difference?
> My Fedora 12 machine has been up overnight.
> # ntpstat
> synchronised to NTP server ( at stratum 6
>    time correct to within 79 ms
>    polling server every 16 s
> # ntpq -p
> remote      refid  st t when poll reach delay offset jitter
> ===========================================================
> *ops  5 u    2   16  377  0.100 -1.831 0.245
> Note: ops  has IP address

One says stratum 6, the other says stratum 5?

 Either those were not done at the same time,
  or not done to the same server,
  or one of those software is broken.

Do ntpq -n -clpe -clas -crv
 and ntpstat at the same time?

 {I'm guessing ntpstat isn't parsing the response properly?
   You might want to check people.redhat.com/rkeech/#ntpstat
   I think this was discussed a few months ago}

E-Mail Sent to this address <BlackList at Anitech-Systems.com>
  will be added to the BlackLists.

More information about the questions mailing list