1ntptrace(8)                      User Commands                     ntptrace(8)
2
3
4

NAME

6       ntptrace - Trace peers of an NTP server
7

SYNOPSIS

9       ntptrace [-flags] [-flag [value]] [--option-name[[=| ]value]] [host]
10
11

DESCRIPTION

13       ntptrace  is a perl script that uses the ntpq utility program to follow
14       the chain of NTP servers from a given host back  to  the  primary  time
15       source.  For  ntptrace  to  work  properly,  each of these servers must
16       implement the NTP Control and Monitoring Protocol specified in RFC 1305
17       and enable NTP Mode 6 packets.
18
19       If given no arguments, ntptrace starts with localhost. Here is an exam‐
20       ple of the output from ntptrace:
21
22           % ntptrace localhost: stratum 4, offset 0.0019529, synch distance 0.144135
23           server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 usndh.edu:
24           stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
25
26       On each line, the fields are (left to right): the host name,  the  host
27       stratum,  the time offset between that host and the local host (as mea‐
28       sured by ntptrace; this is why it is not always zero for  "localhost"),
29       the host synchronization distance, and (only for stratum-1 servers) the
30       reference clock ID. All times are given in seconds. Note that the stra‐
31       tum  is  the server hop count to the primary source, while the synchro‐
32       nization distance is  the  estimated  error  relative  to  the  primary
33       source. These terms are precisely defined in RFC-1305.
34

OPTIONS

36       -n, --numeric
37              Print IP addresses instead of hostnames.
38
39              Output  hosts as dotted-quad numeric format rather than convert‐
40              ing to the canonical host names.
41
42       -m number, --max-hosts=number
43              Maximum number of peers to trace.  This option takes an  integer
44              number as its argument.  The default number for this option is:
45                   99
46
47              This option has not been fully documented.
48
49       -r string, --host=string
50              Single remote host.  The default string for this option is:
51                   127.0.0.1
52
53              This option has not been fully documented.
54
55       -?, --help
56              Display usage information and exit.
57
58       -!, --more-help
59              Pass the extended usage information through a pager.
60
61       -v [{v|c|n --version [{v|c|n}]}]
62              Output  version of program and exit.  The default mode is `v', a
63              simple version.  The `c' mode will print  copyright  information
64              and `n' will print the full copyright notice.
65

EXIT STATUS

67       One of the following exit values will be returned:
68
69       0  (EXIT_SUCCESS)
70              Successful program execution.
71
72       1  (EXIT_FAILURE)
73              The operation failed or the command syntax was not valid.
74
75       70  (EX_SOFTWARE)
76              libopts  had an internal operational error.  Please report it to
77              autogen-users@lists.sourceforge.net.  Thank you.
78

NOTES

80       This manual page was AutoGen-erated from the  ntptrace  option  defini‐
81       tions.
82
83
84
85ntp (4.2.8p15)                    23 Jun 2020                      ntptrace(8)
Impressum