Yolinux.com

ntpstat manpage

Search topic Section


ntpstat(8)		    System Manager's Manual		    ntpstat(8)



NAME
       ntpstat - show network time synchronisation status

SYNOPSIS
       ntpstat

DESCRIPTION
       ntpstat	will report the synchronisation state of the NTP daemon (ntpd)
       running on the local machine.  If the local system is found to be  syn-
       chronised  to a reference time source, ntpstat will report the approxi-
       mate 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.


RETURNS
       ntpstat returns 0 if clock is synchronised.  ntpstat returns 1 if clock
       is not synchronised.  ntpstat returns 2 if clock	 state	is  indetermi-
       nant, for example if ntpd is not contactable.


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


AUTHOR
       G. Richard Keech (rkeech@redhat.com)



4th Berkeley Distribution					    ntpstat(8)