From: Harlan Stenn Date: Sun, 23 Sep 2012 01:07:43 +0000 (-0400) Subject: [Bug 2234] Fix incorrect ntptrace html documentation. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abbaa06cbb38379ea3242a0ca90dc580773bdadf;p=thirdparty%2Fntp.git [Bug 2234] Fix incorrect ntptrace html documentation. bk: 505e60dfMS8YkgX8GhsccL7GN4o0Ow --- diff --git a/ChangeLog b/ChangeLog index 24e56223e3..5404fed3ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 2234] Fix incorrect ntptrace html documentation. * [Bug 2262] Install html docs in $htmldir. (4.2.7p306) 2012/09/15 Released by Harlan Stenn * [Bug 752] ToS cleanup from Mike Tatarinov. diff --git a/html/ntptrace.html b/html/ntptrace.html index 2ca2e854de..8bb357e0eb 100644 --- a/html/ntptrace.html +++ b/html/ntptrace.html @@ -16,7 +16,7 @@

Synopsis

-ntptrace [ -vdn ] [ -r retries ] [ -t timeout ] [ server ] +ntptrace [ -n ] [ -m max_hosts ] [ server ]

Description

ntptrace is a perl script that uses the ntpq utility program to follow the chain of NTP servers from a given host back to the primary time source. For ntptrace to work properly, each of these servers must implement the NTP Control and Monitoring Protocol specified in RFC 1305 and enable NTP Mode 6 packets.

If given no arguments, ntptrace starts with localhost. Here is an example of the output from ntptrace:

@@ -29,16 +29,10 @@ usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'

On each line, the fields are (left to right): the host name, the host stratum, the time offset between that host and the local host (as measured by ntptrace; this is why it is not always zero for "localhost"), the host synchronization distance, and (only for stratum-1 servers) the reference clock ID. All times are given in seconds. Note that the stratum is the server hop count to the primary source, while the synchronization distance is the estimated error relative to the primary source. These terms are precisely defined in RFC-1305.

Options

-
-d
-
Turns on some debugging output.
+
-m max_hosts
+
Sets the upper limit of the number of hosts to check (default: unlimited).
-n
Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down.
-
-r retries
-
Sets the number of retransmission attempts for each host (default = 5).
-
-t timeout
-
Sets the retransmission timeout (in seconds) (default = 2).
-
-v
-
Prints verbose information about the NTP servers.

Bugs

This program makes no attempt to improve accuracy by doing multiple samples.