diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-12-02 09:01:21 +0000 |
---|---|---|
committer | <> | 2014-12-04 16:11:25 +0000 |
commit | bdab5265fcbf3f472545073a23f8999749a9f2b9 (patch) | |
tree | c6018dd03dea906f8f1fb5f105f05b71a7dc250a /html/ntptrace.html | |
download | ntp-bdab5265fcbf3f472545073a23f8999749a9f2b9.tar.gz |
Imported from /home/lorry/working-area/delta_ntp/ntp-dev-4.2.7p482.tar.gz.ntp-dev-4.2.7p482
Diffstat (limited to 'html/ntptrace.html')
-rw-r--r-- | html/ntptrace.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/html/ntptrace.html b/html/ntptrace.html new file mode 100644 index 0000000..bd47bd9 --- /dev/null +++ b/html/ntptrace.html @@ -0,0 +1,42 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> +<meta name="generator" content="HTML Tidy, see www.w3.org"> +<title>ntptrace - trace a chain of NTP servers back to the primary source</title> +<link href="scripts/style.css" type="text/css" rel="stylesheet"> +</head> +<body> +<h3><tt>ntptrace</tt> - trace a chain of NTP servers back to the primary source</h3> +<img src="pic/alice13.gif" alt="gif" align="left"><a href="http://www.eecis.udel.edu/~mills/pictures.html">from <i>Alice's Adventures in Wonderland</i>, Lewis Carroll</a> +<p>The rabbit knows the way back.</p> +<p>Last update: + <!-- #BeginDate format:En2m -->31-Jan-2014 06:54<!-- #EndDate --> + UTC</p> +<br clear="left"> +<hr> +<h4>Synopsis</h4> +<tt>ntptrace [ -n ] [ -m <i>maxhosts</i> ] [ <i>server</i> ]</tt> +<h4>Description</h4> +<p><tt>ntptrace</tt> is a <tt>perl</tt> script that uses the <tt>ntpq</tt> utility program to follow the chain of NTP servers from a given host back to the primary time source. For <tt>ntptrace</tt> 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.</p> +<p>If given no arguments, <tt>ntptrace</tt> starts with <tt>localhost</tt>. Here is an example of the output from <tt>ntptrace</tt>:</p> +<pre> +% ntptrace +localhost: stratum 4, offset 0.0019529, synch distance 0.144135 +server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 +usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB' +</pre> +<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 "<tt>localhost</tt>"), 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> +<h4>Options</h4> +<dl> + <dt><tt>-m <i>max_hosts</i></tt></dt> + <dd>Sets the upper limit of the number of hosts to check (default: unlimited).</dd> + <dt><tt>-n</tt></dt> + <dd>Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down.</dd> +</dl> +<h4>Bugs</h4> +<p>This program makes no attempt to improve accuracy by doing multiple samples.</p> +<hr> +<script type="text/javascript" language="javascript" src="scripts/footer.txt"></script> +</body> +</html> |