source: trunk/third/xntp/html/ntptrace.htm @ 16192

Revision 16192, 2.5 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16191, which included commits to RCS files with non-trunk default branches.
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<html>
3<head>
4<meta name="generator" content="HTML Tidy, see www.w3.org">
5<title>ntptrace - trace a chain of NTP servers back to the primary
6source</title>
7</head>
8<body>
9<h3><tt>ntptrace</tt> - trace a chain of NTP servers back to the
10primary source</h3>
11
12<img align="left" src="pic/alice13.gif" alt="gif"><a href=
13"http://www.eecis.udel.edu/~mills/pictures.htm">from <i>Alice's
14Adventures in Wonderland</i>, Lewis Carroll</a>
15
16<p>The rabbit knows the way back.<br clear="left">
17</p>
18
19<hr>
20<h4>Synopsis</h4>
21
22<tt>ntptrace [ -vdn ] [ -r <i>retries</i> ] [ -t <i>timeout</i> ] [
23<i>server</i> ]</tt>
24
25<h4>Description</h4>
26
27<p><tt>ntptrace</tt> determines where a given Network Time Protocol
28(NTP) server gets its time from, and follows the chain of NTP
29servers back to their master time source. If given no arguments, it
30starts with <tt>localhost</tt>. Here is an example of the output
31from <tt>ntptrace</tt>:</p>
32
33<pre>
34% ntptrace
35localhost: stratum 4, offset 0.0019529, synch distance 0.144135
36server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784
37usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid
38'WWVB'
39</pre>
40
41On each line, the fields are (left to right): the host name, the
42host stratum, the time offset between that host and the local host
43(as measured by <tt>ntptrace</tt>; this is why it is not always
44zero for "<tt>localhost</tt>"), the host synchronization distance,
45and (only for stratum-1 servers) the reference clock ID. All times
46are given in seconds. Note that the stratum is the server hop count
47to the primary source, while the synchronization distance is the
48estimated error relative to the primary source. These terms are
49precisely defined in RFC-1305.
50
51<h4>Options</h4>
52
53<dl>
54<dt><tt>-d</tt></dt>
55
56<dd>Turns on some debugging output.</dd>
57
58<dt><tt>-n</tt></dt>
59
60<dd>Turns off the printing of host names; instead, host IP
61addresses are given. This may be useful if a nameserver is
62down.</dd>
63
64<dt><tt>-r <i>retries</i></tt></dt>
65
66<dd>Sets the number of retransmission attempts for each host
67(default = 5).</dd>
68
69<dt><tt>-t <i>timeout</i></tt></dt>
70
71<dd>Sets the retransmission timeout (in seconds) (default =
722).</dd>
73
74<dt><tt>-v</tt></dt>
75
76<dd>Prints verbose information about the NTP servers.</dd>
77</dl>
78
79<h4>Bugs</h4>
80
81This program makes no attempt to improve accuracy by doing multiple
82samples.
83
84<hr>
85<a href="index.htm"><img align="left" src="pic/home.gif" alt=
86"gif"></a>
87<address><a href="mailto:mills@udel.edu">David L. Mills
88&lt;mills@udel.edu&gt;</a></address>
89</body>
90</html>
91
Note: See TracBrowser for help on using the repository browser.