ntptrace.html revision 259065
1132451Sroberto<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2132451Sroberto 3132451Sroberto<html> 4132451Sroberto 5132451Sroberto <head> 6132451Sroberto <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> 7132451Sroberto <meta name="generator" content="HTML Tidy, see www.w3.org"> 8132451Sroberto <title>ntptrace - trace a chain of NTP servers back to the primary source</title> 9132451Sroberto <link href="scripts/style.css" type="text/css" rel="stylesheet"> 10132451Sroberto </head> 11132451Sroberto 12132451Sroberto <body> 13132451Sroberto <h3><tt>ntptrace</tt> - trace a chain of NTP servers back to the primary source</h3> 14132451Sroberto <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> 15132451Sroberto <p>The rabbit knows the way back.</p> 16132451Sroberto <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> 17132451Sroberto <br clear="left"> 18132451Sroberto <hr> 19132451Sroberto <h4>Synopsis</h4> 20132451Sroberto <tt>ntptrace [ -vdn ] [ -r <i>retries</i> ] [ -t <i>timeout</i> ] [ <i>server</i> ]</tt> 21132451Sroberto <h4>Description</h4> 22132451Sroberto <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> 23132451Sroberto <pre> 24132451Sroberto% ntptrace 25132451Srobertolocalhost: stratum 4, offset 0.0019529, synch distance 0.144135 26132451Srobertoserver2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784 27132451Srobertousndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB' 28132451Sroberto</pre> 29132451Sroberto <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> 30132451Sroberto <h4>Options</h4> 31132451Sroberto <dl> 32132451Sroberto <dt><tt>-d</tt> 33132451Sroberto <dd>Turns on some debugging output. 34132451Sroberto <dt><tt>-n</tt> 35132451Sroberto <dd>Turns off the printing of host names; instead, host IP addresses are given. This may be useful if a nameserver is down. 36132451Sroberto <dt><tt>-r <i>retries</i></tt> 37132451Sroberto <dd>Sets the number of retransmission attempts for each host (default = 5). 38132451Sroberto <dt><tt>-t <i>timeout</i></tt> 39132451Sroberto <dd>Sets the retransmission timeout (in seconds) (default = 2). 40132451Sroberto <dt><tt>-v</tt> 41132451Sroberto <dd>Prints verbose information about the NTP servers. 42132451Sroberto </dl> 43132451Sroberto <h4>Bugs</h4> 44132451Sroberto <p>This program makes no attempt to improve accuracy by doing multiple samples.</p> 45132451Sroberto <hr> 46132451Sroberto <script type="text/javascript" language="javascript" src="scripts/footer.txt"></script> 47132451Sroberto </body> 48132451Sroberto 49132451Sroberto</html>