Lines Matching +full:single +full:- +full:tt
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
6 <title>ntpq - standard NTP query program</title>
10 <h3><tt>ntpq</tt> - standard NTP query program</h3>
14 <!-- #BeginDate format:En2m -->24-Jan-2018 08:35<!-- #EndDate -->
21 <tt>ntpq [-46dinp] [-c <i>command</i>] [<i>host</i>] [...]</tt>
23 <p>The <tt>ntpq</tt> utility program is used to monitor NTP daemon <tt>ntpd</tt> operations
29 … variables can be assembled, with raw and pretty-printed output options being available. The <tt>n…
30 …tt>ntpq</tt> is executed, each of the requests will be sent to the NTP servers running on each of …
31 …tt>ntpq</tt> uses NTP mode 6 packets to communicate with the NTP server, and hence can be used to …
32 … name is expected, a <tt>-4</tt> qualifier preceding the host name forces DNS resolution to the IP…
34 … than <tt>-i</tt> or <tt>-n</tt> will cause the specified query (queries) to be sent to the indica…
36 <dt><tt>-4</tt></dt>
38 <dt><tt>-6</tt></dt>
40 <dt><tt>-c</tt></dt>
41 …the list of commands to be executed on the specified host(s). Multiple <tt>-c</tt> options may be …
42 <dt><tt>-d</tt></dt>
44 <dt><tt>-i</tt></dt>
45 …<dd>Force <tt>ntpq</tt> to operate in interactive mode. Prompts will be written to the standard ou…
46 <dt><tt>-n</tt></dt>
47 …<dd>Output all host addresses in dotted-quad numeric format rather than converting to the canonica…
48 <dt><tt>-p</tt></dt>
49 …erver as well as a summary of their state. This is equivalent to the <tt>peers</tt> interactive co…
52 …tt>></tt>, followed by a file name, to the command line. A number of interactive format command…
54 <dt id="help"><tt>? [<i>command_keyword</i>]</tt><br>
55 <tt>help [<i>command_keyword</i>]</tt></dt>
56 …<dd>A <tt>?</tt> by itself will print a list of all the command keywords known to <tt>ntpq</tt>. A…
57 <dt id="addvars"><tt>addvars <i>name</i> [ = <i>value</i>] [...]</tt><br>
58 <tt>rmvars <i>name</i> [...]</tt><br>
59 <tt>clearvars</tt></dt>
60 …tt><i>name</i> = <i>value</i></tt>, where the <tt>= <i>value</i></tt> is ignored, and can be omitt…
61 <dt id="cooked"><tt>cooked</tt></dt>
63 <dt id="debug"><tt>debug more | less | off</tt></dt>
65 <dt id="delay"><tt>delay <i>milliseconds</i></tt></dt>
67 <dt id="host"><tt>host <i>name</i></tt></dt>
69 <dt id="hostnames"><tt>hostnames [yes | no]</tt></dt>
70 …tt>yes</tt> is specified, host names are printed in information displays. If <tt>no</tt> is specif…
71 <dt id="keyid"><tt>keyid <i>keyid</i></tt></dt>
72 …figuration requests. This must correspond to a key ID configured in <tt>ntp.conf</tt> for this pur…
73 <dt id="keytype"><tt>keytype</tt></dt>
74 …tt>MD5</tt>. If the OpenSSL library is installed, digest can be be any message digest algorithm su…
75 <dt id="ntpversion"><tt>ntpversion 1 | 2 | 3 | 4</tt></dt>
76 …<dd>Sets the NTP version number which <tt>ntpq</tt> claims in packets. Defaults to 2, Note that mo…
77 <dt id="passwd"><tt>passwd</tt></dt>
78 … requests. The password must correspond to the key ID configured in <tt>ntp.conf</tt> for this pur…
79 It follows the same rules as a password entry in the keys file of <tt>ntpd</tt>.</dd>
80 <dt id="quit"><tt>quit</tt></dt>
81 <dd>Exit <tt>ntpq</tt>.</dd>
82 <dt id="raw"><tt>raw</tt></dt>
84 <dt id="timeout"><tt>timeout <i>millseconds</i></tt></dt>
85 …rver queries. The default is about 5000 milliseconds. Note that since <tt>ntpq</tt> retries each q…
88 …single mode-6 message to the server and expect a single response message. The exceptions are the <…
90 <dt id="as"><tt>associations</tt></dt>
92 <dd><tt>ind assid status conf reach auth condition last_event cnt</tt></dd>
100 <td><tt>ind</tt></td>
104 <td><tt>assid</tt></td>
108 <td><tt>status</tt></td>
112 <td><tt>conf</tt></td>
113 <td><tt>yes</tt>: persistent, <tt>no</tt>: ephemeral</td>
116 <td><tt>reach</tt></td>
117 <td><tt>yes</tt>: reachable, <tt>no</tt>: unreachable</td>
120 <td><tt>auth</tt></td>
121 <td><tt>ok</tt>, <tt>yes</tt>, <tt>bad</tt> and <tt>none</tt></td>
124 <td><tt>condition</tt></td>
125 …<td>selection status (see the <tt>select</tt> field of the <a href="decode.html#peer">peer status …
128 <td><tt>last_event</tt></td>
129 …<td>event report (see the <tt>event</tt> field of the <a href="decode.html#peer">peer status word<…
132 <td><tt>cnt</tt></td>
133 …<td>event count (see the <tt>count</tt> field of the <a href="decode.html#peer">peer status word</…
137 <dt id="cv"><tt>clockvar <i>assocID</i> [<i>name</i> [ = <i>value</i> [...]] [...]</tt><br>
138 <tt>cv <i>assocID</i> [<i>name</i> [ = <i>value</i> [...] ][...]</tt></dt>
140 <dt id=":config"><tt>:config [...]</tt></dt>
141 …<dd>Send the remainder of the command line, including whitespace, to the server as a run-time conf…
142 <dt id="config-from-file"><tt>config-from-file <i>filename</i></tt></dt>
143 …<dd>Send the each line of <i>filename</i> to the server as run-time configuration commands in the …
144 <dt id="ifstats"><tt>ifstats</tt></dt>
146 <dt id="iostats"><tt>iostats</tt></dt>
148 <dt id="kerninfo"><tt>kerninfo</tt></dt>
150 <dt id="lassoc"><tt>lassociations</tt></dt>
152 <dt id="monstats"><tt>monstats</tt></dt>
154 …<tt>mrulist [limited | kod | mincount=<i>count</i> | laddr=<i>localaddr</i> | sort=<i>sortorder</i…
155 …tt>sort=<i>sortorder</i></tt>, the options filter the list returned by <tt>ntpd</tt>. The <tt>limi…
156 …<dd>The <tt><i>sortorder</i></tt> defaults to <tt>lstint</tt> and may be any of <tt>addr</tt>, <tt…
163 <td><tt>lstint</tt></td>
165 retrieval of the MRU list by <tt>ntpq</tt>.</td>
168 <td><tt>avgint</tt></td>
172 <td><tt>rstr</tt></td>
173 …ted with this address. Most are copied unchanged from the matching <tt>restrict</tt> command, how…
177 <td><tt>r</tt></td>
178 …<td>Rate control indicator, either a period, <tt>L</tt> or <tt>K</tt> for no rate control response,
182 <td><tt>m</tt></td>
186 <td><tt>v</tt></td>
190 <td><tt>count</tt></td>
194 <td><tt>rport</tt></td>
198 <td><tt>remote address</tt></td>
204 …<dt id="mreadvar"><tt>mreadvar <i>assocID</i> <i>assocID</i> [ <i>variable_name</i> [ = <i>value</…
205 …<dt id="mrv"><tt>mrv <i>assocID</i> <i>assocID</i> [ <i>variable_name</i> [ = <i>value</i>[ ... ]<…
206 …tt>readvar</tt> command, except for a range of association IDs. This range is determined from the …
207 <dt id="passoc"><tt>passociations</tt></dt>
208 …<dd>Perform the same function as the <tt>associations command</tt>, except that it uses previously…
209 <dt id="pe"><tt>peers</tt></dt>
211 <dd><tt>[tally]remote refid st t when pool reach delay offset jitter</tt></dd>
219 <td><tt>[tally]</tt></td>
220 …<td>single-character code indicating current value of the <tt>select</tt> field of the <a href="de…
223 <td><tt>remote</tt></td>
227 <td><tt>refid</tt></td>
231 <td><tt>st</tt></td>
235 <td><tt>t</tt></td>
237 <tt>u</tt>: unicast or manycast client,
238 <tt>b</tt>: broadcast or multicast client,
239 <tt>p</tt>: pool source,
240 <tt>l</tt>: local (reference clock),
241 <tt>s</tt>: symmetric (peer),
242 <tt>A</tt>: manycast server,
243 <tt>B</tt>: broadcast server,
244 <tt>M</tt>: multicast server
248 <td><tt>when</tt></td>
252 <td><tt>poll</tt></td>
256 <td><tt>reach</tt></td>
260 <td><tt>delay</tt></td>
264 <td><tt>offset</tt></td>
268 <td><tt>jitter</tt></td>
273 <dt id="rv"><tt>readvar <i>assocID</i> <i>name</i> [ = <i>value</i> ] [,...]</tt><br>
274 <tt>rv <i>assocID</i> [ <i>name</i> ] [,...]</tt></dt>
275 <dd>Display the specified variables. If <tt><i>assocID</i></tt> is zero, the
278 …The <tt><i>assocID</i></tt> is required, as the same name can occur in both spaces. If no <tt><i>n…
280 In this case only, if the <tt><i>assocID</i></tt> is omitted, it is assumed zero. Multiple
283 values in parts-per-million (PPM). Some NTP timestamps are represented
286 <dt id="saveconfig"><tt>saveconfig <i>filename</i></tt></dt>
287 …tt>:config</tt> or <tt>config-from-file</tt>, to the ntpd host's file <i>filename</i>. This comma…
288 <dt id="writevar"><tt>writevar <i>assocID</i> <i>name</i> = <i>value</i> [,...]</tt></dt>
289 …tt><i>assocID</i></tt> is zero, the variables are from the <a href="#system">system variables</a> …
290 <dt id="sysinfo"><tt>sysinfo</tt></dt>
292 <dt id="sysstats"><tt>sysstats</tt></dt>
296 … each association separately. These words are displayed in the <tt>rv</tt> and <tt>as</tt> command…
297 … href="decode.html#kiss">kiss codes</a>. The original purpose was for kiss-o'-death (KoD) packets …
299 <p>The following system variables appear in the <tt>rv</tt> billboard. Not all variables are displa…
306 <td><tt>status</tt></td>
310 <td><tt>version</tt></td>
314 <td><tt>processor</tt></td>
318 <td><tt>system</tt></td>
322 <td><tt>leap</tt></td>
323 <td>leap warning indicator (0-3)</td>
326 <td><tt>stratum</tt></td>
327 <td>stratum (1-15)</td>
330 <td><tt>precision</tt></td>
334 <td><tt>rootdelay</tt></td>
338 <td><tt>rootdisp</tt></td>
342 <td><tt>peer</tt></td>
346 <td><tt>tc</tt></td>
347 <td>time constant and poll exponent (log<sub>2</sub> s) (3-17)</td>
350 <td><tt>mintc</tt></td>
351 <td>minimum time constant (log<sub>2</sub> s) (3-10)</td>
354 <td><tt>clock</tt></td>
358 <td><tt>refid</tt></td>
362 <td><tt>reftime</tt></td>
366 <td><tt>offset</tt></td>
370 <td><tt>sys_jitter</tt></td>
374 <td><tt>frequency</tt></td>
378 <td><tt>clk_wander</tt></td>
382 <td><tt>clk_jitter</tt></td>
386 <td><tt>tai</tt></td>
387 <td>TAI-UTC offset (s)</td>
390 <td><tt>leapsec</tt></td>
394 <td><tt>expire</tt></td>
399 <dt>The jitter and wander statistics are exponentially-weighted RMS averages.
412 <td><tt>host</tt></td>
416 <td><tt>ident</tt></td>
420 <td><tt>flags</tt></td>
424 <td><tt>digest</tt></td>
428 <td><tt>signature</tt></td>
432 <td><tt>update</tt></td>
436 <td><tt>cert</tt></td>
440 <td><tt>until</tt></td>
445 <p>The following peer variables appear in the <tt>rv</tt> billboard for each association. Not all v…
452 <td><tt>associd</tt></td>
456 <td><tt>status</tt></td>
460 <td><tt>srcadr<br>
461 srcport</tt></td>
465 <td><tt>dstadr<br>
466 dstport</tt></td>
470 <td><tt>leap</tt></td>
471 <td>leap indicator (0-3)</td>
474 <td><tt>stratum</tt></td>
475 <td>stratum (0-15)</td>
478 <td><tt>precision</tt></td>
482 <td><tt>rootdelay</tt></td>
486 <td><tt>rootdisp</tt></td>
490 <td><tt>refid</tt></td>
494 <td><tt>reftime</tt></td>
498 <td><tt>reach</tt></td>
502 <td><tt>unreach</tt></td>
506 <td><tt>hmode</tt></td>
507 <td>host mode (1-6)</td>
510 <td><tt>pmode</tt></td>
511 <td>peer mode (1-5)</td>
514 <td><tt>hpoll</tt></td>
515 <td>host poll exponent (log<sub>2</sub> s) (3-17)</td>
518 <td><tt>ppoll</tt></td>
519 <td>peer poll exponent (log<sub>2</sub> s) (3-17)</td>
522 <td><tt>headway</tt></td>
523 <td>headway (see <a href="rate.html">Rate Management and the Kiss-o'-Death Packet)</a></td>
526 <td><tt>flash</tt></td>
530 <td><tt>offset</tt></td>
534 <td><tt>delay</tt></td>
538 <td><tt>dispersion</tt></td>
542 <td><tt>jitter</tt></td>
546 <td><tt>ident</tt></td>
550 <td><tt>bias</tt></td>
554 <td><tt>xleave</tt></td>
571 <td><tt>flags</tt></td>
575 <td><tt>host</tt></td>
579 <td><tt>flags</tt></td>
583 <td><tt>signature</tt></td>
587 <td><tt>initsequence</tt></td>
591 <td><tt>initkey</tt></td>
595 <td><tt>timestamp</tt></td>
600 <p>The following clock variables appear in the <tt>cv</tt> billboard for each association with a re…
607 <td><tt>associd</tt></td>
611 <td><tt>status</tt></td>
615 <td><tt>device</tt></td>
619 <td><tt>timecode</tt></td>
623 <td><tt>poll</tt></td>
627 <td><tt>noreply</tt></td>
631 <td><tt>badformat</tt></td>
635 <td><tt>baddata</tt></td>
639 <td><tt>fudgetime1</tt></td>
643 <td><tt>fudgetime2</tt></td>
647 <td><tt>stratum</tt></td>
651 <td><tt>refid</tt></td>
655 <td><tt>flags</tt></td>