ntpstat man page

ntpstat — show network time synchronisation status


ntpstat will report the synchronisation state of the NTP daemon (ntpd) running on the local machine. If the local system is found to be synchronised to a reference time source, ntpstat will report the approximate time accuracy.

When the synchronised state is reported, it means the system clock was updated at some point. There is no timeout for this state. It will stay there even when the source becomes unreachable and there are no other sources available. However, the reported accuracy will be slowly increasing, in the default ntpd configuration by 15 microseconds per second.


ntpstat returns 0 if clock is synchronised. ntpstat returns 1 if clock is not synchronised. ntpstat returns 2 if clock state is indeterminant, for example if ntpd is not contactable.

See Also

ntp_misc(5), ntpd(8), ntpq(8), ntpdc(8)


G. Richard Keech (rkeech@redhat.com)