1ntpstat(8)                  System Manager's Manual                 ntpstat(8)
2
3
4

NAME

6       ntpstat - show network time synchronisation status
7

SYNOPSIS

9       ntpstat
10

DESCRIPTION

12       ntpstat  will report the synchronisation state of the NTP daemon (ntpd)
13       running on the local machine.  If the local system is found to be  syn‐
14       chronised  to a reference time source, ntpstat will report the approxi‐
15       mate time accuracy.
16
17       When the synchronised state is reported, it means the system clock  was
18       updated  at  some  point.  There is no timeout for this state.  It will
19       stay there even when the source becomes unreachable and  there  are  no
20       other sources available.  However, the reported accuracy will be slowly
21       increasing, in the default ntpd configuration by  15  microseconds  per
22       second.
23
24

RETURNS

26       ntpstat returns 0 if clock is synchronised.  ntpstat returns 1 if clock
27       is not synchronised.  ntpstat returns 2 if clock  state  is  indetermi‐
28       nant, for example if ntpd is not contactable.
29
30

SEE ALSO

32       ntp_misc(5), ntpd(8), ntpq(8), ntpdc(8)
33
34

AUTHOR

36       G. Richard Keech (rkeech@redhat.com)
37
38
39
404th Berkeley Distribution                                           ntpstat(8)
Impressum