Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ntptrace - Trace a chain of NTP servers back to the prevailing clock

&pagelevel(5)&pagelevel

ntptrace

-n -m <maxhosts> [<server>]

ntptrace determines the clock to which a specific NTP server refers for its time and traces the chain of NTP servers back to the prevailing clock. If no arguments are specified, the command begins with localhost.

Example of an ntptrace output:

% ntptrace
localhost: stratum 4, offset 0.0019529, synch distance 0.144135
server2.bozo.com: stratum 2, offset 0.0124263, synch distance 0.115784
usndh.edu: stratum 1, offset 0.0019298, synch distance 0.020993, refid 'WWVB'

The fields (from left to right) in each line are: the host name, the host stratum, the time offset between this host and the local host (as calculated by ntptrace; this value is therefore not always 0 for localhost), the host’s synchronization distance and (only forservers of stratum 1) the ID of the external clock. All times are specified in seconds. (The synchronization distance is a measure of the message runtime to the partner.)


Options

-n

IP addresses are specified instead of the host names. This may be necessary if no name server is running.

-m <maxhosts>

Specifies a maximum length for tracing the chain of NTP servers.
Default: 99

<server>

Specifies the server from which the chain to the prevailing clock should be traced back.
Default: localhost