PageRenderTime 27ms CodeModel.GetById 17ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

HTML | 49 lines | 45 code | 4 blank | 0 comment | 0 complexity | a9e7272cc33ebacc389713bf277b4568 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 5	<head>
 6		<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
 7		<meta name="generator" content="HTML Tidy, see">
 8		<title>ntptrace - trace a chain of NTP servers back to the primary source</title>
 9		<link href="scripts/style.css" type="text/css" rel="stylesheet">
10	</head>
12	<body>
13		<h3><tt>ntptrace</tt> - trace a chain of NTP servers back to the primary source</h3>
14		<img src="pic/alice13.gif" alt="gif" align="left"><a href="">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a>
15		<p>The rabbit knows the way back.</p>
16		<p>Last update: <csobj format="ShortTime" h="25" locale="00000409" region="0" t="DateTime" w="61">18:47</csobj> UTC <csobj format="LongDate" h="25" locale="00000409" region="0" t="DateTime" w="246">Thursday, July 28, 2005</csobj></p>
17		<br clear="left">
18		<hr>
19		<h4>Synopsis</h4>
20		<tt>ntptrace [ -vdn ] [ -r <i>retries</i> ] [ -t <i>timeout</i> ] [ <i>server</i> ]</tt>
21		<h4>Description</h4>
22		<p><tt>ntptrace</tt> determines where a given Network Time Protocol (NTP) server gets its time from, and follows the chain of NTP servers back to their master time source. If given no arguments, it starts with <tt>localhost</tt>. Here is an example of the output from <tt>ntptrace</tt>:</p>
23		<pre>
24% ntptrace
25localhost: stratum 4, offset 0.0019529, synch distance 0.144135 stratum 2, offset 0.0124263, synch distance 0.115784 stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
29		<p>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 <tt>ntptrace</tt>; this is why it is not always zero for &quot;<tt>localhost</tt>&quot;), 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.</p>
30		<h4>Options</h4>
31		<dl>
32			<dt><tt>-d</tt>
33			<dd>Turns on some debugging output.
34			<dt><tt>-n</tt>
35			<dd>Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down.
36			<dt><tt>-r <i>retries</i></tt>
37			<dd>Sets the number of retransmission attempts for each host (default = 5).
38			<dt><tt>-t <i>timeout</i></tt>
39			<dd>Sets the retransmission timeout (in seconds) (default = 2).
40			<dt><tt>-v</tt>
41			<dd>Prints verbose information about the NTP servers.
42		</dl>
43		<h4>Bugs</h4>
44		<p>This program makes no attempt to improve accuracy by doing multiple samples.</p>
45		<hr>
46		<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script>
47	</body>