Lines Matching full:code
60 <p>The <code>ntpq</code> utility program is used to
63 <code>ntpd</code>, the NTP daemon.
65 <p>This document applies to version 4.2.8p18 of <code>ntpq</code>.
95 <p>The <code>ntpq</code> utility program is used to monitor NTP daemon <code>ntpd</code> operations…
101 …d, with raw and pretty-printed output options being available. The <code>ntpq</code> can also obt…
103 …code>ntpq</code> is executed, each of the requests will be sent to the NTP servers running on each…
105 …code>ntpq</code> uses NTP mode 6 packets to communicate with the NTP server, and hence can be used…
107 …e is expected, a <code>-4</code> qualifier preceding the host name forces DNS resolution to the IP…
141 <code>ntpq</code>
151 <code>ntpq</code>
158 <code>ntpq</code>
164 <code>ntpq</code>
170 <code>ntpq</code>
174 <p><code>ntpq</code>
182 <code>ntpq</code>
189 <code>-4</code>
192 <code>-6</code>
200 <code>-i</code>
202 <code>-n</code>
207 <code>ntpq</code>
250 <code>ntpq</code>
255 <dt><code>?</code> <code>[<kbd>command</kbd>]</code></dt>
256 <dt><code>help</code> <code>[<kbd>command</kbd>]</code></dt>
261 <code>ntpq</code>
267 <dt><code>addvars</code> <kbd>name</kbd><code>[=<kbd>value</kbd>]</code><code>[,...]</code></dt>
268 <dt><code>rmvars</code> <kbd>name</kbd><code>[,...]</code></dt>
269 <dt><code>clearvars</code></dt>
270 <dt><code>showvars</code></dt>
273 <kbd>name</kbd><code>[=<kbd>value</kbd>]</code>,
279 <code>ntpq</code>
282 <code>readlist</code>
284 <code>writelist</code>
287 <code>addvars</code>
293 <code>rmvars</code>
296 <code>clearvars</code>
300 <code>showvars</code>
303 <dt><code>authenticate</code> <code>[<code>yes</code>|<code>no</code>]</code></dt>
305 <code>ntpq</code>
309 <code>authenticate</code> <code>yes</code>
311 <code>ntpq</code>
317 <code>authenticate</code>
319 <code>ntpq</code>
323 <dt><code>cooked</code></dt>
326 <code>ntpq</code>
330 <code>ntpq</code>
335 <dt><code>debug</code> <code>[<code>more</code>|<code>less</code>|<code>off</code>]</code></dt>
339 <dt><code>delay</code> <code>[<kbd>milliseconds</kbd>]</code></dt>
350 <dt><code>drefid</code> <code>[<code>hash</code>|<code>ipv4</code>]</code></dt>
355 <dt><code>exit</code></dt>
357 <code>ntpq</code>
359 <dt><code>host</code> <code>[<kbd>name</kbd>]</code></dt>
366 <dt><code>hostnames</code> <code>[<code>yes</code>|<code>no</code>]</code></dt>
368 <code>yes</code>
372 <code>no</code>
376 <code>yes</code>,
379 <code>-n</code>
384 <dt><code>keyid</code> <code>[<kbd>keyid</kbd>]</code></dt>
389 <code>controlkey</code>
395 <dt><code>keytype</code> <code>[<kbd>digest</kbd>]</code></dt>
397 <code>MD5</code>.
399 <code>ntpq</code>
404 <code>keytype</code> <kbd>digest</kbd>
407 <dt><code>ntpversion</code> <code>[<code>1</code>|<code>2</code>|<code>3</code>|<code>4</code>]</co…
409 <code>ntpq</code>
419 <dt><code>passwd</code></dt>
427 <dt><code>poll</code> <code>[<kbd>n</kbd>]</code> <code>[<code>verbose</code>]</code></dt>
433 <dt><code>quit</code></dt>
435 <code>ntpq</code>
437 <dt><code>raw</code></dt>
444 <dt><code>timeout</code> <code>[<kbd>milliseconds</kbd>]</code></dt>
450 <code>ntpq</code>
454 <dt><code>version</code></dt>
456 <code>ntpq</code>
469 <code>peers</code>
472 <code>mreadlist</code>
474 <code>mreadvar</code>
477 <dt><code>apeers</code></dt>
483 <code>peers</code>
485 <code>refid</code>
488 <dt><code>associations</code></dt>
495 <dt><code>ind</code> <code>Ta</code> <code>index</code> <code>on</code> <code>this</code> <code>lis…
496 <dt><code>assid</code> <code>Ta</code> <code>association</code> <code>id</code></dt>
497 <dt><code>status</code> <code>Ta</code> <code>peer</code> <code>status</code> <code>word</code></dt>
498 …t><code>conf</code> <code>Ta</code> <code>yes</code>: <code>No</code> <code>persistent,</code> <co…
499 …><code>reach</code> <code>Ta</code> <code>yes</code>: <code>No</code> <code>reachable,</code> <cod…
500 <dt><code>auth</code> <code>Ta</code> <code>ok</code>, <code>yes</code>, <code>bad</code> <code>No<…
501 …code>condition</code> <code>Ta</code> <code>selection</code> <code>status</code> <code>(see</code>…
502 …code>last_event</code> <code>Ta</code> <code>event</code> <code>report</code> <code>(see</code> <c…
503 …code>cnt</code> <code>Ta</code> <code>event</code> <code>count</code> <code>(see</code> <code>the<…
506 <dt><code>authinfo</code></dt>
511 <dt><code>clocklist</code> <code>[<kbd>associd</kbd>]</code></dt>
512 <dt><code>cl</code> <code>[<kbd>associd</kbd>]</code></dt>
516 <dt><code>clockvar</code> <code>[<kbd>associd</kbd>]</code> <code>[<kbd>name</kbd><code>[=<kbd>valu…
517 <dt><code>cv</code> <code>[<kbd>associd</kbd>]</code> <code>[<kbd>name</kbd><code>[=<kbd>value</kbd…
521 <dt><code>:config</code> <kbd>configuration command line</kbd></dt>
528 <dt><code>config-from-file</code> <kbd>filename</kbd></dt>
536 <dt><code>ifstats</code></dt>
542 <dt><code>iostats</code></dt>
548 <dt><code>kerninfo</code></dt>
560 <dt><code>lassociations</code></dt>
564 <dt><code>lopeers</code> <code>[<code>-4</code>|<code>-6</code>]</code></dt>
566 <code>dstadr</code>
569 <dt><code>lpassociations</code></dt>
572 <dt><code>lpeers</code> <code>[<code>-4</code>|<code>-6</code>]</code></dt>
575 <dt><code>monstats</code></dt>
580 <dt><code>mreadlist</code> <kbd>associdlo</kbd> <kbd>associdhi</kbd></dt>
581 <dt><code>mrl</code> <kbd>associdlo</kbd> <kbd>associdhi</kbd></dt>
583 <code>readlist</code>
586 <dt><code>mreadvar</code> <kbd>associdlo</kbd> <kbd>associdhi</kbd> <code>[<kbd>name</kbd>]</code><…
590 <dt><code>mrv</code> <kbd>associdlo</kbd> <kbd>associdhi</kbd> <code>[<kbd>name</kbd>]</code><code>…
592 <code>readvar</code>
597 …code>mrulist</code> <code>[<code>limited</code> | <code>kod</code> | <code>mincount</code>=<kbd>co…
601 <code>sort</code>=<code>[-]</code><kbd>sortorder</kbd>,
603 <code>ntpd(8)</code>.
605 <code>limited</code>
607 <code>kod</code>
611 <code>mincount</code>=<kbd>count</kbd>
616 <code>laddr</code>=<kbd>localaddr</kbd>
619 <code>resany</code>=<kbd>hexmask</kbd>
621 <code>resall</code>=<kbd>hexmask</kbd>
625 <code>0x</code>.
629 <code>lstint</code>
631 <code>addr</code>,
632 <code>avgint</code>,
633 <code>count</code>,
634 <code>lstint</code>,
643 <dt><code>lstint</code></dt>
646 <code>ntpq</code>
648 <dt><code>avgint</code></dt>
651 <dt><code>rstr</code></dt>
654 <code>restrict</code>
658 <dt><code>r</code></dt>
661 <code>L</code>
663 <code>K</code>
667 <dt><code>m</code></dt>
670 <dt><code>v</code></dt>
673 <dt><code>count</code></dt>
676 <dt><code>rport</code></dt>
679 <dt><code>remote</code> <code>address</code></dt>
685 <dt><code>opeers</code> <code>[<code>-4</code> | <code>-6</code>]</code></dt>
687 <code>dstadr</code>
690 <code>refid</code>.
692 <dt><code>passociations</code></dt>
694 <code>associations</code>
698 <dt><code>peers</code></dt>
707 <dt><code>[tally]</code></dt>
708 <dd><p>single-character code indicating current value of the
709 <code>select</code>
713 <dt><code>remote</code></dt>
716 <code>ntpq</code>
717 <code>-w</code>
722 <dt><code>refid</code></dt>
724 .Lk decode.html#kiss "’kiss code"
726 <dt><code>st</code></dt>
730 <dt><code>t</code></dt>
731 <dd><p><code>u</code>:
733 <code>b</code>:
735 <code>p</code>:
737 <code>l</code>:
739 <code>s</code>:
741 <code>A</code>:
743 <code>B</code>:
745 <code>M</code>:
748 <dt><code>when</code></dt>
754 <dt><code>poll</code></dt>
757 <dt><code>reach</code></dt>
760 <dt><code>delay</code></dt>
763 <dt><code>offset</code></dt>
766 <dt><code>jitter</code></dt>
771 <dt><code>pstats</code> <kbd>associd</kbd></dt>
779 <dt><code>readlist</code> <code>[<kbd>associd</kbd>]</code></dt>
780 <dt><code>rl</code> <code>[<kbd>associd</kbd>]</code></dt>
786 <dt><code>readvar</code> <code>[<kbd>associd</kbd> <kbd>name</kbd><code>[=<kbd>value</kbd>]</code> …
787 <dt><code>rv</code> <code>[<kbd>associd</kbd> <kbd>name</kbd><code>[=<kbd>value</kbd>]</code> <code…
820 <dt><code>reslist</code></dt>
822 <code>ntpq</code>
825 <dt><code>saveconfig</code> <kbd>filename</kbd></dt>
828 <code>:config</code>
830 <code>config-from-file</code>,
836 <code>ntpd(8)</code>
840 <code>date(1)</code>
844 <pre class="example"><code>saveconfig</code> <samp>ntp-%Y%m%d-%H%M%S.conf</samp>.
847 <code>savedconfig</code>.
850 <dt><code>sysinfo</code></dt>
857 <dt><code>sysstats</code></dt>
865 <dt><code>timerstats</code></dt>
869 <dt><code>writelist</code> <kbd>associd</kbd></dt>
872 <dt><code>writevar</code> <kbd>associd</kbd> <kbd>name</kbd>=<kbd>value</kbd> <code>[, ...]</code><…
894 <code>readlist</code>
896 <code>associations</code>
902 the code for the latest of which is included in the status word.
914 <code>readlist</code>
922 <dt><code>status</code></dt>
925 <dt><code>version</code></dt>
928 <dt><code>processor</code></dt>
931 <dt><code>system</code></dt>
934 <dt><code>leap</code></dt>
937 <dt><code>stratum</code></dt>
940 <dt><code>precision</code></dt>
943 <dt><code>rootdelay</code></dt>
946 <dt><code>rootdisp</code></dt>
949 <dt><code>refid</code></dt>
951 .Lk decode.html#kiss "kiss code"
953 <dt><code>reftime</code></dt>
956 <dt><code>clock</code></dt>
959 <dt><code>peer</code></dt>
962 <dt><code>tc</code></dt>
965 <dt><code>mintc</code></dt>
968 <dt><code>offset</code></dt>
971 <dt><code>frequency</code></dt>
974 <dt><code>sys_jitter</code></dt>
977 <dt><code>clk_wander</code></dt>
980 <dt><code>clk_jitter</code></dt>
983 <dt><code>tai</code></dt>
986 <dt><code>leapsec</code></dt>
989 <dt><code>expire</code></dt>
1005 <dt><code>host</code></dt>
1008 <dt><code>ident</code></dt>
1011 <dt><code>flags</code></dt>
1014 <dt><code>digest</code></dt>
1017 <dt><code>signature</code></dt>
1020 <dt><code>update</code></dt>
1023 <dt><code>cert</code></dt>
1026 <dt><code>until</code></dt>
1032 <code>readlist</code>
1040 <dt><code>associd</code></dt>
1043 <dt><code>status</code></dt>
1046 <dt><code>srcadr</code></dt>
1049 <dt><code>srcport</code></dt>
1052 <dt><code>dstadr</code></dt>
1055 <dt><code>dstport</code></dt>
1058 <dt><code>leap</code></dt>
1061 <dt><code>stratum</code></dt>
1064 <dt><code>precision</code></dt>
1067 <dt><code>rootdelay</code></dt>
1070 <dt><code>rootdisp</code></dt>
1073 <dt><code>refid</code></dt>
1075 .Lk decode.html#kiss "kiss code"
1077 <dt><code>reftime</code></dt>
1080 <dt><code>rec</code></dt>
1083 <dt><code>reach</code></dt>
1086 <dt><code>unreach</code></dt>
1089 <dt><code>hmode</code></dt>
1092 <dt><code>pmode</code></dt>
1095 <dt><code>hpoll</code></dt>
1098 <dt><code>ppoll</code></dt>
1101 <dt><code>headway</code></dt>
1105 <dt><code>flash</code></dt>
1108 <dt><code>keyid</code></dt>
1111 <dt><code>offset</code></dt>
1114 <dt><code>delay</code></dt>
1117 <dt><code>dispersion</code></dt>
1120 <dt><code>jitter</code></dt>
1123 <dt><code>bias</code></dt>
1126 <dt><code>xleave</code></dt>
1132 <code>bias</code>
1138 <code>xleave</code>
1149 <dt><code>flags</code></dt>
1152 <dt><code>host</code></dt>
1155 <dt><code>flags</code></dt>
1158 <dt><code>signature</code></dt>
1161 <dt><code>initsequence</code></dt>
1164 <dt><code>initkey</code></dt>
1167 <dt><code>timestamp</code></dt>
1170 <dt><code>ident</code></dt>
1177 <code>clocklist</code>
1184 <dt><code>associd</code></dt>
1187 <dt><code>status</code></dt>
1190 <dt><code>device</code></dt>
1193 <dt><code>timecode</code></dt>
1194 <dd><p>ASCII time code string (specific to device)
1196 <dt><code>poll</code></dt>
1199 <dt><code>noreply</code></dt>
1202 <dt><code>badformat</code></dt>
1205 <dt><code>baddata</code></dt>
1208 <dt><code>fudgetime1</code></dt>
1211 <dt><code>fudgetime2</code></dt>
1214 <dt><code>stratum</code></dt>
1217 <dt><code>refid</code></dt>
1220 <dt><code>flags</code></dt>
1226 using the <code>agtexi-cmd</code> template and the option descriptions for the <code>ntpq</code> pr…
1268 <p>The text printed is the same whether selected with the <code>help</code> option
1269 (<samp>--help</samp>) or the <code>more-help</code> option (<samp>--more-help</samp>). <code>more-…
1271 <code>more-help</code> is disabled on platforms without a working
1272 <code>fork(2)</code> function. The <code>PAGER</code> environment variable is
1274 with a status code of 0.
1395 <p>Force <code>ntpq</code> to operate in interactive mode.
1418 By default, <code>ntpq</code> now suppresses the <code>associd=...</code>
1419 line that precedes the output of <code>readvar</code>
1420 (alias <code>rv</code>) when a single variable is requested, such as
1421 <code>ntpq -c "rv 0 offset"</code>.
1422 This option causes <code>ntpq</code> to include both lines of output
1423 for a single-variable <code>readvar</code>.
1426 newer <code>ntpq</code> to behave identically in this regard.
1502 … environment variables named <code>NTPQ</code> and <code>NTPQ_<OPTION_NAME></code>. <code>&…
1504 The <code>NTPQ</code> variable will be tokenized and parsed like
1509 <p><code>libopts</code> will search in 2 places for configuration files:
1514 <p>The environment variables <code>HOME</code>, and <code>PWD</code>
1545 <p>yielding an <code>option-name.sub-opt</code> string value of
1549 <p><code>AutoOpts</code> does not track suboptions. You simply note that it is a
1550 hierarchicly valued option. <code>AutoOpts</code> does provide a means for searching
1607 …file</td><td width="23%"><code>/etc/ntp.conf</code></td><td width="5%"><code>-c</code></td><td wid…
1608 …le</td><td width="23%">none</td><td width="5%"><code>-f</code></td><td width="15%"><code>driftfile…
1609 …le</td><td width="23%">none</td><td width="5%"></td><td width="15%"><code>leapfile</code></td></tr>
1610 …ile</td><td width="23%">none</td><td width="5%"><code>-p</code></td><td width="15%"><code>pidfile<…
1611 …d><td width="23%">system log</td><td width="5%"><code>-l</code></td><td width="15%"><code>logfile<…
1612 …<td width="23%">none</td><td width="5%">none</td><td width="15%"><code>includefile</code></td></tr>
1613 …s path</td><td width="23%"><code>/var/NTP</code></td><td width="5%"><code>-s</code></td><td width=…
1614 …path</td><td width="23%"><code>/usr/local/etc</code></td><td width="5%"><code>-k</code></td><td wi…
1624 …code>></code>, followed by a file name, to the command line. A number of interactive format co…
1627 <dt><code><span id="help"></span><code>? [</code><kbd>command_keyword</kbd><code>]</code></code></d…
1628 <dt><code><code>help [</code><kbd>command_keyword</kbd><code>]</code></code></dt>
1629 <dd><p>A <code>?</code> by itself will print a list of all the command keywords known to <code>ntpq…
1632 <dt><code><span id="addvars"></span>><code>addvars <kbd>name</kbd> [ = <kbd>value</kbd>] [...]</…
1633 <dt><code><code>rmvars <kbd>name</kbd> [...]</code></code></dt>
1634 <dt><code><code>clearvars</code></dt></code></dt>
1636 <code><kbd>name</kbd> = <kbd>value</kbd></code>, where the <code>= <kbd>value</kbd></code> is ignor…
1638 <code>ntpq</code> maintains an internal list in which data to be included
1639 in control messages can be assembled, and sent using the <code>readlist</code>
1640 and <code>writelist</code> commands described below.
1641 The <code>addvars</code> command allows variables and optional values
1645 The <code>rmvars</code> command can be used to remove individual variables
1647 while the <code>clearlist</code> command removes all variables from the list.
1650 <dt><code><span id="cooked"></span><code>cooked</code></code></dt>
1654 <dt><code><span id="debug"></span><code>debug more | less | off</code></code></dt>
1658 <dt><code><span id="delay"></span><code>delay <kbd>milliseconds</kbd></code></code></dt>
1662 <dt><code><span id="host"></span><code>host <kbd>name</kbd></code></code></dt>
1667 <dt><code><span id="hostnames"></span><code>hostnames [yes | no]</code></code></dt>
1668 <dd><p>If <code>yes</code> is specified, host names are printed in information displays.
1669 If <code>no</code> is specified, numeric addresses are printed instead.
1670 The default is <code>yes</code>,
1671 unless modified using the command line <code>-n</code> switch.
1674 <dt><code><span id="keyid"></span><code>keyid <kbd>keyid</kbd></code></code></dt>
1677 This must correspond to a key ID configured in <code>ntp.conf</code> for this purpose.
1680 <dt><code><span id="keytype"></span><code>keytype</code></code></dt>
1682 with default <code>MD5</code>.
1685 …code>AES128CMAC</code>, <code>MD2</code>, <code>MD4</code>, <code>MD5</code>, <code>MDC2</code>, <…
1688 <dt><code><span id="ntpversion"></span><code>ntpversion 1 | 2 | 3 | 4</code></code></dt>
1689 <dd><p>Sets the NTP version number which <code>ntpq</code> claims in packets.
1695 <dt><code><span id="passwd"></span><code>passwd</code></code></dt>
1697 The password must correspond to the key ID configured in <code>ntp.conf</code> for this purpose.
1700 <dt><code><span id="quit"></span><code>quit</code></code></dt>
1701 <dd><p>Exit <code>ntpq</code>.
1704 <dt><code><span id="raw"></span><code>raw</code></code></dt>
1708 <dt><code><span id="timeout"></span><code>timeout <kbd>milliseconds</kbd></code></code></dt>
1711 Note that since <code>ntpq</code> retries each query once after a timeout
1729 The exceptions are the <code>peers</code> command,
1731 and the <code>mreadlist</code> and <code>mreadvar</code> commands,
1735 <dt><code><code>associations</code></code></dt>
1738 <code>ind assid status conf reach auth condition last_event cnt</code>
1742 <tr><td width="10%"><code>ind</code></td><td width="40%">index on this list</td></tr>
1743 <tr><td width="10%"><code>assid</code></td><td width="40%">association ID</td></tr>
1744 <tr><td width="10%"><code>status</code></td><td width="40%"><a href="decode.html#peer">peer status …
1745 <tr><td width="10%"><code>conf</code></td><td width="40%"><code>yes</code>: persistent, <code>no</c…
1746 <tr><td width="10%"><code>reach</code></td><td width="40%"><code>yes</code>: reachable, <code>no</c…
1747 <tr><td width="10%"><code>auth</code></td><td width="40%"><code>ok</code>, <code>yes</code>, <code>…
1748 <tr><td width="10%"><code>condition</code></td><td width="40%">selection status (see the <code>sele…
1749 <tr><td width="10%"><code>last_event</code></td><td width="40%">event report (see the <code>event</…
1750 <tr><td width="10%"><code>cnt</code>
1751 event count (see the <code>count</code> field of the <a href="decode.html#peer">peer status word</a…
1755 <dt><code><span id="cv"></span>clockvar <kbd>assocID</kbd> [<kbd>name</kbd> [ = <kbd>value</kbd> [.…
1756 <dt><code>cv <kbd>assocID</kbd> [<kbd>name</kbd> [ = <kbd>value</kbd> [...] ][...]]</code></dt>
1760 <dt><code><span id="g_t_003aconfig"></span>:config [...]</code></dt>
1768 <dt><code><span id="config_002dfrom_002dfile"></span>config-from-file <kbd>filename</kbd></code></d…
1775 <dt><code><span id="ifstats"></span>ifstats</code></dt>
1780 <dt><code><span id="iostats"></span>iostats</code></dt>
1784 <dt><code><span id="kerninfo"></span>kerninfo</code></dt>
1791 <dt><code><span id="lassoc"></span>lassociations</code></dt>
1796 <dt><code><span id="monstats"></span>monstats</code></dt>
1800 …code><span id="mrulist"></span>mrulist [limited | kod | mincount=<kbd>count</kbd> | laddr=<kbd>loc…
1803 With the exception of <code>sort=<kbd>sortorder</kbd></code>,
1804 the options filter the list returned by <code>ntpd</code>.
1805 The <code>limited</code> and <code>kod</code> options return only entries
1808 The <code>mincount=<kbd>count</kbd></code> option filters entries representing
1809 less than <code><kbd>count</kbd></code> packets.
1810 The <code>laddr=<kbd>localaddr</kbd></code> option filters entries for packets
1811 received on any local address other than <code><kbd>localaddr</kbd></code>.
1812 <code>resany=<kbd>hexmask</kbd></code> and <code>resall=<kbd>hexmask</kbd></code>
1814 of the bits in <code><kbd>hexmask</kbd></code>, which must begin with <code>0x</code>.
1816 The <code><kbd>sortorder</kbd></code> defaults to <code>lstint</code> and may be any of
1817 <code>addr</code>, <code>count</code>, <code>avgint</code>, <code>lstint</code>, or
1823 <tr><td width="10%"><code>lstint</code></td><td width="40%">Interval in s between the receipt of th…
1824 address and the completion of the retrieval of the MRU list by <code>ntpq</code></td></tr>
1825 <tr><td width="10%"><code>avgint</code></td><td width="40%">Average interval in s between packets f…
1826 <tr><td width="10%"><code>rstr</code></td><td width="40%">Restriction flags associated with this ad…
1827 Most are copied unchanged from the matching <code>restrict</code> command,
1830 <tr><td width="10%"><code>r</code></td><td width="40%">Rate control indicator, either a period, <co…
1833 <tr><td width="10%"><code>m</code></td><td width="40%">Packet mode.</td></tr>
1834 <tr><td width="10%"><code>v</code></td><td width="40%">Packet version number.</td></tr>
1835 <tr><td width="10%"><code>count</code></td><td width="40%">Packets received from this address.</td>…
1836 <tr><td width="10%"><code>rport</code></td><td width="40%">Source port of last packet from this add…
1837 <tr><td width="10%"><code>remote address</code></td><td width="40%">DNS name, numeric address, or a…
1842 …code><span id="mreadvar"></span><code>mreadvar <kbd>assocID</kbd> <kbd>assocID</kbd> [ <kbd>variab…
1843 <dt><code><span id="mrv"></span><code>mrv <kbd>assocID</kbd> <kbd>assocID</kbd> [ <kbd>variable_nam…
1844 <dd><p>Perform the same function as the <code>readvar</code> command,
1847 the most recent <code>associations</code> command.
1850 <dt><code><span id="passoc"></span><code>passociations</code></code></dt>
1851 <dd><p>Perform the same function as the <code>associations command</code>, except that
1855 <dt><code><span id="pe"></span><code>peers</code></code></dt>
1858 <code>[tally]remote refid st t when pool reach delay offset jitter</code>
1862 …tr><td width="10%"><code>[tally]</code></td><td width="20%">single-character code indicating curre…
1864 <tr><td width="10%"><code>remote</code></td><td width="20%">host name (or IP number) of peer</td></…
1865 <tr><td width="10%"><code>refid</code></td><td width="20%">association ID or <a href="decode.html#k…
1866 <tr><td width="10%"><code>st</code></td><td width="20%">stratum</td></tr>
1867 <tr><td width="10%"><code>t</code></td><td width="20%"><code>u</code>: unicast or manycast client,
1868 <code>b</code>: broadcast or multicast client,
1869 <code>l</code>: local (reference clock),
1870 <code>s</code>: symmetric (peer),
1871 <code>A</code>: manycast server,
1872 <code>B</code>: broadcast server,
1873 <code>M</code>: multicast server.</td></tr>
1874 <tr><td width="10%"><code>when</code></td><td width="20%">sec/min/hr since last received packet</td…
1875 <tr><td width="10%"><code>poll</code></td><td width="20%">poll interval (log(2) s)</td></tr>
1876 <tr><td width="10%"><code>reach</code></td><td width="20%">reach shift register (octal)</td></tr>
1877 <tr><td width="10%"><code>delay</code></td><td width="20%">roundtrip delay</td></tr>
1878 <tr><td width="10%"><code>offset</code></td><td width="20%">offset of server relative to this host<…
1879 <tr><td width="10%"><code>jitter</code></td><td width="20%">jitter</td></tr>
1883 <dt><code><span id="rv"></span>readvar <kbd>assocID</kbd> <kbd>name</kbd> [ = <kbd>value</kbd> ] [,…
1884 <dt><code>rv <kbd>assocID</kbd> [ <kbd>name</kbd> ] [,...]</code></dt>
1886 If <code><kbd>assocID</kbd></code> is zero,
1892 In this case only, if the <code><kbd>assocID</kbd></code> is omitted, it is assumed zero.
1901 <dt><code><span id="saveconfig"></span><code>saveconfig <kbd>filename</kbd></code></code></dt>
1903 given with <code>:config</code> or <code>config-from-file</code>,
1907 appears in the <code>ntpd</code> configuration file.
1908 <kbd>filename</kbd> can use <code>strftime()</code> format specifiers
1910 <code>saveconfig ntp-%Y%m%d-%H%M%S.conf</code>.
1911 The filename used is stored in system variable <code>savedconfig</code>.
1915 <dt><code><span id="writevar"></span>writevar <kbd>assocID</kbd> <kbd>name</kbd> = <kbd>value</kbd>…
1917 If the <code><kbd>assocID</kbd></code> is zero, the variables are from the
1920 The <code><kbd>assocID</kbd></code> is required,
1924 <dt><code><span id="sysinfo"></span><code>sysinfo</code></code></dt>
1928 <dt><code><span id="sysstats"></span><code>sysstats</code></code></dt>
1944 These words are displayed in the <code>rv</code> and <code>as</code> commands
1949 the code for the latest of which is included in the status word.
1966 <p>The following system variables appear in the <code>rv</code> billboard.
1971 <tr><td width="10%"><code>status</code></td><td width="20%"><a href="decode.html#sys">system status…
1972 <tr><td width="10%"><code>version</code></td><td width="20%">NTP software version and build time</t…
1973 <tr><td width="10%"><code>processor</code></td><td width="20%">hardware platform and version</td></…
1974 <tr><td width="10%"><code>system</code></td><td width="20%">operating system and version</td></tr>
1975 <tr><td width="10%"><code>leap</code></td><td width="20%">leap warning indicator (0-3)</td></tr>
1976 <tr><td width="10%"><code>stratum</code></td><td width="20%">stratum (1-15)</td></tr>
1977 <tr><td width="10%"><code>precision</code></td><td width="20%">precision (log(2) s)</td></tr>
1978 <tr><td width="10%"><code>rootdelay</code></td><td width="20%">total roundtrip delay to the primary…
1979 <tr><td width="10%"><code>rootdisp</code></td><td width="20%">total dispersion to the primary refer…
1980 <tr><td width="10%"><code>peer</code></td><td width="20%">system peer association ID</td></tr>
1981 <tr><td width="10%"><code>tc</code>
1983 <tr><td width="10%"><code>mintc</code>
1985 <tr><td width="10%"><code>clock</code></td><td width="20%">date and time of day</td></tr>
1986 <tr><td width="10%"><code>refid</code>
1987 reference ID or <a href="decode.html#kiss">kiss code</a></td></tr>
1988 <tr><td width="10%"><code>reftime</code></td><td width="20%">reference time</td></tr>
1989 <tr><td width="10%"><code>offset</code></td><td width="20%">combined offset of server relative to t…
1990 <tr><td width="10%"><code>sys_jitter</code></td><td width="20%">combined system jitter</td></tr>
1991 <tr><td width="10%"><code>frequency</code></td><td width="20%">frequency offset (PPM) relative to h…
1992 <tr><td width="10%"><code>clk_wander</code></td><td width="20%">clock frequency wander (PPM)</td></…
1993 <tr><td width="10%"><code>clk_jitter</code></td><td width="20%">clock jitter</td></tr>
1994 <tr><td width="10%"><code>tai</code></td><td width="20%">TAI-UTC offset (s)</td></tr>
1995 <tr><td width="10%"><code>leapsec</code></td><td width="20%">NTP seconds when the next leap second …
1996 <tr><td width="10%"><code>expire</code></td><td width="20%">NTP seconds when the NIST leapseconds f…
2009 <tr><td width="10%"><code>host</code></td><td width="20%">Autokey host name for this host</td></tr>
2010 <tr><td width="10%"><code>ident</code></td><td width="20%">Autokey group name for this host</td></t…
2011 <tr><td width="10%"><code>flags</code></td><td width="20%">host flags (see Autokey specification)<…
2012 <tr><td width="10%"><code>digest</code></td><td width="20%">OpenSSL message digest algorithm</td></…
2013 <tr><td width="10%"><code>signature</code></td><td width="20%">OpenSSL digest/signature scheme</td>…
2014 <tr><td width="10%"><code>update</code></td><td width="20%">NTP seconds at last signature update</t…
2015 <tr><td width="10%"><code>cert</code></td><td width="20%">certificate subject, issuer and certifica…
2016 <tr><td width="10%"><code>until</code></td><td width="20%">NTP seconds when the certificate expires…
2026 <p>The following peer variables appear in the <code>rv</code> billboard
2032 <tr><td width="10%"><code>associd</code></td><td width="20%">association ID</td></tr>
2033 <tr><td width="10%"><code>status</code></td><td width="20%"><a href="decode.html#peer">peer status …
2034 <tr><td width="10%"><code>srcadr</code></td><td width="20%">source (remote) IP address and port</td…
2035 <tr><td width="10%"><code>dstadr</code></td><td width="20%">destination (local) IP address and port…
2036 <tr><td width="10%"><code>leap</code></td><td width="20%">leap indicator (0-3)</td></tr>
2037 <tr><td width="10%"><code>stratum</code></td><td width="20%">stratum (0-15)</td></tr>
2038 <tr><td width="10%"><code>precision</code></td><td width="20%">precision (log(2) s)</td></tr>
2039 <tr><td width="10%"><code>rootdelay</code></td><td width="20%">total roundtrip delay to the primary…
2040 <tr><td width="10%"><code>rootdisp</code></td><td width="20%">total root dispersion to the primary …
2041 <tr><td width="10%"><code>refid</code></td><td width="20%">reference ID or <a href="decode.html#kis…
2042 <tr><td width="10%"><code>reftime</code></td><td width="20%">reference time</td></tr>
2043 <tr><td width="10%"><code>reach</code></td><td width="20%">reach register (octal)</td></tr>
2044 <tr><td width="10%"><code>unreach</code></td><td width="20%">unreach counter</td></tr>
2045 <tr><td width="10%"><code>hmode</code></td><td width="20%">host mode (1-6)</td></tr>
2046 <tr><td width="10%"><code>pmode</code></td><td width="20%">peer mode (1-5)</td></tr>
2047 <tr><td width="10%"><code>hpoll</code></td><td width="20%">host poll exponent (log(2) s) (3-17)</td…
2048 <tr><td width="10%"><code>ppoll</code></td><td width="20%">peer poll exponent (log(2) s) (3-17)</td…
2049 <tr><td width="10%"><code>headway</code></td><td width="20%">headway (see <a href="rate.html">Rate …
2050 <tr><td width="10%"><code>flash</code></td><td width="20%"><a href="decode.html#flash">flash status…
2051 <tr><td width="10%"><code>offset</code></td><td width="20%">filter offset</td></tr>
2052 <tr><td width="10%"><code>delay</code></td><td width="20%">filter delay</td></tr>
2053 <tr><td width="10%"><code>dispersion</code></td><td width="20%">filter dispersion</td></tr>
2054 <tr><td width="10%"><code>jitter</code></td><td width="20%">filter jitter</td></tr>
2055 <tr><td width="10%"><code>ident</code></td><td width="20%">Autokey group name for this association<…
2056 <tr><td width="10%"><code>bias</code></td><td width="20%">unicast/broadcast bias</td></tr>
2057 <tr><td width="10%"><code>xleave</code></td><td width="20%">interleave delay (see <a href="xleave.h…
2072 <tr><td width="10%"><code>flags</code></td><td width="20%">peer flags (see Autokey specification)</…
2073 <tr><td width="10%"><code>host</code></td><td width="20%">Autokey server name</td></tr>
2074 <tr><td width="10%"><code>flags</code></td><td width="20%">peer flags (see Autokey specification)</…
2075 <tr><td width="10%"><code>signature</code></td><td width="20%">OpenSSL digest/signature scheme</td>…
2076 <tr><td width="10%"><code>initsequence</code></td><td width="20%">initial key ID</td></tr>
2077 <tr><td width="10%"><code>initkey</code></td><td width="20%">initial key index</td></tr>
2078 <tr><td width="10%"><code>timestamp</code></td><td width="20%">Autokey signature timestamp</td></tr>
2088 <p>The following clock variables appear in the <code>cv</code> billboard for each association with …
2092 <tr><td width="10%"><code>associd</code></td><td width="20%">association ID</td></tr>
2093 <tr><td width="10%"><code>status</code></td><td width="20%"><a href="decode.html#clock">clock statu…
2094 <tr><td width="10%"><code>device</code></td><td width="20%">device description</td></tr>
2095 <tr><td width="10%"><code>timecode</code></td><td width="20%">ASCII time code string (specific to d…
2096 <tr><td width="10%"><code>poll</code></td><td width="20%">poll messages sent</td></tr>
2097 <tr><td width="10%"><code>noreply</code></td><td width="20%">no reply</td></tr>
2098 <tr><td width="10%"><code>badformat</code></td><td width="20%">bad format</td></tr>
2099 <tr><td width="10%"><code>baddata</code></td><td width="20%">bad date or time</td></tr>
2100 <tr><td width="10%"><code>fudgetime1</code></td><td width="20%">fudge time 1</td></tr>
2101 <tr><td width="10%"><code>fudgetime2</code></td><td width="20%">fudge time 2</td></tr>
2102 <tr><td width="10%"><code>stratum</code></td><td width="20%">driver stratum</td></tr>
2103 <tr><td width="10%"><code>refid</code></td><td width="20%">driver reference ID</td></tr>
2104 <tr><td width="10%"><code>flags</code></td><td width="20%">driver flags</td></tr>