Home | History | Annotate | Line # | Download | only in ntpq
ntpq.html revision 1.1.1.1.4.2
      1 <html lang="en">
      2 <head>
      3 <title>ntpq: Network Time Protocol Query User's Manual</title>
      4 <meta http-equiv="Content-Type" content="text/html">
      5 <meta name="description" content="ntpq: Network Time Protocol Query User's Manual">
      6 <meta name="generator" content="makeinfo 4.7">
      7 <link title="Top" rel="top" href="#Top">
      8 <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
      9 <meta http-equiv="Content-Style-Type" content="text/css">
     10 <style type="text/css"><!--
     11   pre.display { font-family:inherit }
     12   pre.format  { font-family:inherit }
     13   pre.smalldisplay { font-family:inherit; font-size:smaller }
     14   pre.smallformat  { font-family:inherit; font-size:smaller }
     15   pre.smallexample { font-size:smaller }
     16   pre.smalllisp    { font-size:smaller }
     17   span.sc { font-variant:small-caps }
     18   span.roman { font-family: serif; font-weight: normal; } 
     19 --></style>
     20 </head>
     21 <body>
     22 <h1 class="settitle">ntpq: Network Time Protocol Query User's Manual</h1>
     23   <div class="shortcontents">
     24 <h2>Short Contents</h2>
     25 <ul>
     26 <a href="#Top">ntpq: Network Time Protocol Query User Manual</a>
     27 </ul>
     28 </div>
     29 
     30 
     31 
     32 <div class="node">
     33 <p><hr>
     34 <a name="Top"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-Description">ntpq Description</a>,
     35 Previous:&nbsp;<a rel="previous" accesskey="p" href="#dir">(dir)</a>,
     36 Up:&nbsp;<a rel="up" accesskey="u" href="#dir">(dir)</a>
     37 <br>
     38 </div>
     39 
     40 <h2 class="unnumbered">ntpq: Network Time Protocol Query User Manual</h2>
     41 
     42 <p>The <code>ntpq</code> utility program is used to
     43 monitor the operational status
     44 and determine the performance of
     45 <code>ntpd</code>, the NTP daemon.
     46 
     47   <p>This document applies to version 4.2.7p404 of <code>ntpq</code>.
     48 
     49 <ul class="menu">
     50 <li><a accesskey="1" href="#ntpq-Description">ntpq Description</a>
     51 <li><a accesskey="2" href="#ntpq-Invocation">ntpq Invocation</a>:              Invoking ntpq
     52 <li><a accesskey="3" href="#Usage">Usage</a>
     53 <li><a accesskey="4" href="#Internal-Commands">Internal Commands</a>
     54 <li><a accesskey="5" href="#Control-Message-Commands">Control Message Commands</a>
     55 <li><a accesskey="6" href="#Status-Words-and-Kiss-Codes">Status Words and Kiss Codes</a>
     56 <li><a accesskey="7" href="#System-Variables">System Variables</a>
     57 <li><a accesskey="8" href="#Peer-Variables">Peer Variables</a>
     58 <li><a accesskey="9" href="#Clock-Variables">Clock Variables</a>
     59 </ul>
     60 
     61 <div class="node">
     62 <p><hr>
     63 <a name="ntpq-Description"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Usage">Usage</a>,
     64 Previous:&nbsp;<a rel="previous" accesskey="p" href="#Top">Top</a>,
     65 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
     66 <br>
     67 </div>
     68 
     69 <!-- node-name,  next,  previous,  up -->
     70 <h3 class="section">Description</h3>
     71 
     72 <p>The <code>ntpq</code> utility program is used to monitor NTP daemon <code>ntpd</code> operations and determine performance. 
     73 It uses the standard NTP mode 6 control message formats defined in
     74 Appendix B of the NTPv3 specification RFC1305. 
     75 The same formats are used in NTPv4, although some of the variable names have changed and new ones added. 
     76 The description on this page is for the NTPv4 variables.
     77 
     78   <p>The program can be run either in interactive mode or controlled using command line arguments.  Requests to read and write arbitrary variables can be assembled, with raw and pretty-printed output options being available.  The <code>ntpq</code> can also obtain and print a list of peers in a common format by sending multiple queries to the server.
     79 
     80   <p>If one or more request options is included on the command line when <code>ntpq</code> is executed, each of the requests will be sent to the NTP servers running on each of the hosts given as command line arguments, or on localhost by default.  If no request options are given, <code>ntpq</code> will attempt to read commands from the standard input and execute these on the NTP server running on the first host given on the command line, again defaulting to localhost when no other host is specified.  <code>ntpq</code> will prompt for commands if the standard input is a terminal device.
     81 
     82   <p><code>ntpq</code> uses NTP mode 6 packets to communicate with the NTP server, and hence can be used to query any compatible server on the network which permits it.  Note that since NTP is a UDP protocol this communication will be somewhat unreliable, especially over large distances in terms of network topology.  <code>ntpq</code> makes one attempt to retransmit requests, and will time requests out if the remote host is not heard from within a suitable timeout time.
     83 
     84   <p>Note that in contexts where a host name is expected, a <code>-4</code> qualifier preceding the host name forces DNS resolution to the IPv4 namespace, while a <code>-6</code> qualifier forces DNS resolution to the IPv6 namespace.
     85 
     86   <p>For examples and usage, see the <a href="debug.html">NTP Debugging Techniques</a> page.
     87 
     88 <div class="node">
     89 <p><hr>
     90 <a name="ntpq-Invocation"></a>
     91 <br>
     92 </div>
     93 
     94 <h3 class="section">Invoking ntpq</h3>
     95 
     96 <p><a name="index-ntpq-1"></a><a name="index-standard-NTP-query-program-2"></a>
     97 
     98   <p>The
     99 <code>ntpq</code>
    100 utility program is used to query NTP servers which
    101 implement the standard NTP mode 6 control message formats defined
    102 in Appendix B of the NTPv3 specification RFC1305, requesting
    103 information about current state and/or changes in that state. 
    104 The same formats are used in NTPv4, although some of the
    105 variables have changed and new ones added. The description on this
    106 page is for the NTPv4 variables. 
    107 The program may be run either in interactive mode or controlled using
    108 command line arguments. 
    109 Requests to read and write arbitrary
    110 variables can be assembled, with raw and pretty-printed output
    111 options being available. 
    112 The
    113 <code>ntpq</code>
    114 utility can also obtain and print a
    115 list of peers in a common format by sending multiple queries to the
    116 server.
    117 
    118   <p>If one or more request options is included on the command line
    119 when
    120 <code>ntpq</code>
    121 is executed, each of the requests will be sent
    122 to the NTP servers running on each of the hosts given as command
    123 line arguments, or on localhost by default. 
    124 If no request options
    125 are given,
    126 <code>ntpq</code>
    127 will attempt to read commands from the
    128 standard input and execute these on the NTP server running on the
    129 first host given on the command line, again defaulting to localhost
    130 when no other host is specified. 
    131 The
    132 <code>ntpq</code>
    133 utility will prompt for
    134 commands if the standard input is a terminal device.
    135 
    136   <p><code>ntpq</code>
    137 uses NTP mode 6 packets to communicate with the
    138 NTP server, and hence can be used to query any compatible server on
    139 the network which permits it. 
    140 Note that since NTP is a UDP protocol
    141 this communication will be somewhat unreliable, especially over
    142 large distances in terms of network topology. 
    143 The
    144 <code>ntpq</code>
    145 utility makes
    146 one attempt to retransmit requests, and will time requests out if
    147 the remote host is not heard from within a suitable timeout
    148 time.
    149 
    150   <p>Specifying a
    151 command line option other than
    152 <code>-i</code>
    153 or
    154 <code>-n</code>
    155 will
    156 cause the specified query (queries) to be sent to the indicated
    157 host(s) immediately. 
    158 Otherwise,
    159 <code>ntpq</code>
    160 will attempt to read
    161 interactive format commands from the standard input.
    162 
    163 <h5 class="subsubsection">Internal Commands</h5>
    164 
    165 <p>Interactive format commands consist of a keyword followed by zero
    166 to four arguments. 
    167 Only enough characters of the full keyword to
    168 uniquely identify the command need be typed.
    169 
    170   <p>A
    171 number of interactive format commands are executed entirely within
    172 the
    173 <code>ntpq</code>
    174 utility itself and do not result in NTP mode 6
    175 requests being sent to a server. 
    176 These are described following.
    177      <dl>
    178 <dt><code>?</code> <code>[</code><kbd>command_keyword</kbd><code>]</code><br><dt><code>help</code> <code>[</code><kbd>command_keyword</kbd><code>]</code><dd>A
    179 ? 
    180 by itself will print a list of all the command
    181 keywords known to this incarnation of
    182 <code>ntpq</code>
    183 A
    184 ? 
    185 followed by a command keyword will print function and usage
    186 information about the command. 
    187 This command is probably a better
    188 source of information about
    189 <code>ntpq</code>
    190 than this manual
    191 page. 
    192 <br><dt><code>addvars</code> <kbd>variable_name</kbd> <code>[=value]</code> <code>...</code><br><dt><code>rmvars</code> <kbd>variable_name</kbd> <code>...</code><br><dt><code>clearvars</code><dd>The data carried by NTP mode 6 messages consists of a list of
    193 items of the form
    194 variable_name=value,
    195 where the
    196 =value
    197 is ignored, and can be omitted,
    198 in requests to the server to read variables. 
    199 The
    200 <code>ntpq</code>
    201 utility maintains an internal list in which data to be included in control
    202 messages can be assembled, and sent using the
    203 <code>readlist</code>
    204 and
    205 <code>writelist</code>
    206 commands described below. 
    207 The
    208 <code>addvars</code>
    209 command allows variables and their optional values to be added to
    210 the list. 
    211 If more than one variable is to be added, the list should
    212 be comma-separated and not contain white space. 
    213 The
    214 <code>rmvars</code>
    215 command can be used to remove individual variables from the list,
    216 while the
    217 <code>clearlist</code>
    218 command removes all variables from the
    219 list. 
    220 <br><dt><code>authenticate</code> <code>[yes | no]</code><dd>Normally
    221 <code>ntpq</code>
    222 does not authenticate requests unless
    223 they are write requests. 
    224 The command
    225 authenticate yes
    226 causes
    227 <code>ntpq</code>
    228 to send authentication with all requests it
    229 makes. 
    230 Authenticated requests causes some servers to handle
    231 requests slightly differently, and can occasionally melt the CPU in
    232 fuzzballs if you turn authentication on before doing a
    233 <code>peer</code>
    234 display. 
    235 The command
    236 authenticate
    237 causes
    238 <code>ntpq</code>
    239 to display whether or not
    240 <code>ntpq</code>
    241 is currently autheinticating requests. 
    242 <br><dt><code>cooked</code><dd>Causes output from query commands to be "cooked", so that
    243 variables which are recognized by
    244 <code>ntpq</code>
    245 will have their
    246 values reformatted for human consumption. 
    247 Variables which
    248 <code>ntpq</code>
    249 thinks should have a decodable value but didn't are
    250 marked with a trailing
    251 ?. 
    252 <br><dt><code>debug</code> <code>[more | less | off]</code><dd>With no argument, displays the current debug level. 
    253 Otherwise, the debug level is changed to the indicated level. 
    254 <br><dt><code>delay</code> <kbd>milliseconds</kbd><dd>Specify a time interval to be added to timestamps included in
    255 requests which require authentication. 
    256 This is used to enable
    257 (unreliable) server reconfiguration over long delay network paths
    258 or between machines whose clocks are unsynchronized. 
    259 Actually the
    260 server does not now require timestamps in authenticated requests,
    261 so this command may be obsolete. 
    262 <br><dt><code>host</code> <kbd>hostname</kbd><dd>Set the host to which future queries will be sent. 
    263 <kbd>hostname</kbd>
    264 may be either a host name or a numeric address. 
    265 <br><dt><code>hostnames</code> <code>[yes | no]</code><dd>If
    266 <code>yes</code>
    267 is specified, host names are printed in
    268 information displays. 
    269 If
    270 <code>no</code>
    271 is specified, numeric
    272 addresses are printed instead. 
    273 The default is
    274 <code>yes</code>,
    275 unless
    276 modified using the command line
    277 <code>-n</code>
    278 switch. 
    279 <br><dt><code>keyid</code> <kbd>keyid</kbd><dd>This command allows the specification of a key number to be
    280 used to authenticate configuration requests. 
    281 This must correspond
    282 to a key number the server has been configured to use for this
    283 purpose. 
    284 <br><dt><code>ntpversion</code> <code>[1 | 2 | 3 | 4]</code><dd>Sets the NTP version number which
    285 <code>ntpq</code>
    286 claims in
    287 packets. 
    288 Defaults to 3, and note that mode 6 control messages (and
    289 modes, for that matter) didn't exist in NTP version 1. 
    290 There appear
    291 to be no servers left which demand version 1. 
    292 With no argument, displays the current NTP version that will be used
    293 when communicating with servers. 
    294 <br><dt><code>quit</code><dd>Exit
    295 <code>ntpq</code>
    296 <br><dt><code>passwd</code><dd>This command prompts you to type in a password (which will not
    297 be echoed) which will be used to authenticate configuration
    298 requests. 
    299 The password must correspond to the key configured for
    300 use by the NTP server for this purpose if such requests are to be
    301 successful. 
    302 <br><dt><code>raw</code><dd>Causes all output from query commands is printed as received
    303 from the remote server. 
    304 The only formating/interpretation done on
    305 the data is to transform nonascii data into a printable (but barely
    306 understandable) form. 
    307 <br><dt><code>timeout</code> <kbd>milliseconds</kbd><dd>Specify a timeout period for responses to server queries. 
    308 The
    309 default is about 5000 milliseconds. 
    310 Note that since
    311 <code>ntpq</code>
    312 retries each query once after a timeout, the total waiting time for
    313 a timeout will be twice the timeout value set. 
    314 </dl>
    315 
    316   <p>This section was generated by <strong>AutoGen</strong>,
    317 using the <code>agtexi-cmd</code> template and the option descriptions for the <code>ntpq</code> program. 
    318 This software is released under the NTP license, &lt;http://ntp.org/license>;.
    319 
    320 <ul class="menu">
    321 <li><a accesskey="1" href="#ntpq-usage">ntpq usage</a>:                   ntpq help/usage (<span class="option">--help</span>)
    322 <li><a accesskey="2" href="#ntpq-ipv4">ntpq ipv4</a>:                    ipv4 option (-4)
    323 <li><a accesskey="3" href="#ntpq-ipv6">ntpq ipv6</a>:                    ipv6 option (-6)
    324 <li><a accesskey="4" href="#ntpq-command">ntpq command</a>:                 command option (-c)
    325 <li><a accesskey="5" href="#ntpq-peers">ntpq peers</a>:                   peers option (-p)
    326 <li><a accesskey="6" href="#ntpq-interactive">ntpq interactive</a>:             interactive option (-i)
    327 <li><a accesskey="7" href="#ntpq-numeric">ntpq numeric</a>:                 numeric option (-n)
    328 <li><a accesskey="8" href="#ntpq-old_002drv">ntpq old-rv</a>:                  old-rv option
    329 <li><a accesskey="9" href="#ntpq-config">ntpq config</a>:                  presetting/configuring ntpq
    330 <li><a href="#ntpq-exit-status">ntpq exit status</a>:             exit status
    331 </ul>
    332 
    333 <div class="node">
    334 <p><hr>
    335 <a name="ntpq-usage"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-ipv4">ntpq ipv4</a>,
    336 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    337 <br>
    338 </div>
    339 
    340 <h4 class="subsection">ntpq help/usage (<span class="option">--help</span>)</h4>
    341 
    342 <p><a name="index-ntpq-help-3"></a>
    343 This is the automatically generated usage text for ntpq.
    344 
    345   <p>The text printed is the same whether selected with the <code>help</code> option
    346 (<span class="option">--help</span>) or the <code>more-help</code> option (<span class="option">--more-help</span>).  <code>more-help</code> will print
    347 the usage text by passing it through a pager program. 
    348 <code>more-help</code> is disabled on platforms without a working
    349 <code>fork(2)</code> function.  The <code>PAGER</code> environment variable is
    350 used to select the program, defaulting to <span class="file">more</span>.  Both will exit
    351 with a status code of 0.
    352 
    353 <pre class="example">ntpq - standard NTP query program - Ver. 4.2.7p403
    354 Usage:  ntpq [ -&lt;flag&gt; [&lt;val&gt;] | --&lt;name&gt;[{=| }&lt;val&gt;] ]... [ host ...]
    355   Flg Arg Option-Name    Description
    356    -4 no  ipv4           Force IPv4 DNS name resolution
    357                                 - prohibits the option 'ipv6'
    358    -6 no  ipv6           Force IPv6 DNS name resolution
    359                                 - prohibits the option 'ipv4'
    360    -c Str command        run a command and exit
    361                                 - may appear multiple times
    362    -d no  debug-level    Increase debug verbosity level
    363                                 - may appear multiple times
    364    -D Num set-debug-level Set the debug verbosity level
    365                                 - may appear multiple times
    366    -p no  peers          Print a list of the peers
    367                                 - prohibits the option 'interactive'
    368    -i no  interactive    Force ntpq to operate in interactive mode
    369                                 - prohibits these options:
    370                                 command
    371                                 peers
    372    -n no  numeric        numeric host addresses
    373       no  old-rv         Always output status line with readvar
    374       opt version        output version information and exit
    375    -? no  help           display extended usage information and exit
    376    -! no  more-help      extended usage information passed thru pager
    377    -&gt; opt save-opts      save the option state to a config file
    378    -&lt; Str load-opts      load options from a config file
    379                                 - disabled as '--no-load-opts'
    380                                 - may appear multiple times
    381 
    382 Options are specified by doubled hyphens and their name or by a single
    383 hyphen and the flag character.
    384 
    385 The following option preset mechanisms are supported:
    386  - reading file $HOME/.ntprc
    387  - reading file ./.ntprc
    388  - examining environment variables named NTPQ_*
    389 
    390 Please send bug reports to:  &lt;http://bugs.ntp.org, bugs (a] ntp.org&gt;
    391 
    392 exit 0
    393 </pre>
    394   <div class="node">
    395 <p><hr>
    396 <a name="ntpq-ipv4"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-ipv6">ntpq ipv6</a>,
    397 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-usage">ntpq usage</a>,
    398 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    399 <br>
    400 </div>
    401 
    402 <h4 class="subsection">ipv4 option (-4)</h4>
    403 
    404 <p><a name="index-ntpq_002dipv4-4"></a>
    405 This is the &ldquo;force ipv4 dns name resolution&rdquo; option.
    406 
    407 <p class="noindent">This option has some usage constraints.  It:
    408      <ul>
    409 <li>must not appear in combination with any of the following options:
    410 ipv6. 
    411 </ul>
    412 
    413   <p>Force DNS resolution of following host names on the command line
    414 to the IPv4 namespace. 
    415 <div class="node">
    416 <p><hr>
    417 <a name="ntpq-ipv6"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-command">ntpq command</a>,
    418 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-ipv4">ntpq ipv4</a>,
    419 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    420 <br>
    421 </div>
    422 
    423 <h4 class="subsection">ipv6 option (-6)</h4>
    424 
    425 <p><a name="index-ntpq_002dipv6-5"></a>
    426 This is the &ldquo;force ipv6 dns name resolution&rdquo; option.
    427 
    428 <p class="noindent">This option has some usage constraints.  It:
    429      <ul>
    430 <li>must not appear in combination with any of the following options:
    431 ipv4. 
    432 </ul>
    433 
    434   <p>Force DNS resolution of following host names on the command line
    435 to the IPv6 namespace. 
    436 <div class="node">
    437 <p><hr>
    438 <a name="ntpq-command"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-peers">ntpq peers</a>,
    439 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-ipv6">ntpq ipv6</a>,
    440 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    441 <br>
    442 </div>
    443 
    444 <h4 class="subsection">command option (-c)</h4>
    445 
    446 <p><a name="index-ntpq_002dcommand-6"></a>
    447 This is the &ldquo;run a command and exit&rdquo; option. 
    448 This option takes a string argument <span class="file">cmd</span>.
    449 
    450 <p class="noindent">This option has some usage constraints.  It:
    451      <ul>
    452 <li>may appear an unlimited number of times. 
    453 </ul>
    454 
    455   <p>The following argument is interpreted as an interactive format command
    456 and is added to the list of commands to be executed on the specified
    457 host(s). 
    458 <div class="node">
    459 <p><hr>
    460 <a name="ntpq-peers"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-interactive">ntpq interactive</a>,
    461 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-command">ntpq command</a>,
    462 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    463 <br>
    464 </div>
    465 
    466 <h4 class="subsection">peers option (-p)</h4>
    467 
    468 <p><a name="index-ntpq_002dpeers-7"></a>
    469 This is the &ldquo;print a list of the peers&rdquo; option.
    470 
    471 <p class="noindent">This option has some usage constraints.  It:
    472      <ul>
    473 <li>must not appear in combination with any of the following options:
    474 interactive. 
    475 </ul>
    476 
    477   <p>Print a list of the peers known to the server as well as a summary
    478 of their state. This is equivalent to the 'peers' interactive command. 
    479 <div class="node">
    480 <p><hr>
    481 <a name="ntpq-interactive"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-numeric">ntpq numeric</a>,
    482 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-peers">ntpq peers</a>,
    483 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    484 <br>
    485 </div>
    486 
    487 <h4 class="subsection">interactive option (-i)</h4>
    488 
    489 <p><a name="index-ntpq_002dinteractive-8"></a>
    490 This is the &ldquo;force ntpq to operate in interactive mode&rdquo; option.
    491 
    492 <p class="noindent">This option has some usage constraints.  It:
    493      <ul>
    494 <li>must not appear in combination with any of the following options:
    495 command, peers. 
    496 </ul>
    497 
    498   <p>Force <code>ntpq</code> to operate in interactive mode. 
    499 Prompts will be written to the standard output and
    500 commands read from the standard input. 
    501 <div class="node">
    502 <p><hr>
    503 <a name="ntpq-numeric"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-old_002drv">ntpq old-rv</a>,
    504 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-interactive">ntpq interactive</a>,
    505 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    506 <br>
    507 </div>
    508 
    509 <h4 class="subsection">numeric option (-n)</h4>
    510 
    511 <p><a name="index-ntpq_002dnumeric-9"></a>
    512 This is the &ldquo;numeric host addresses&rdquo; option. 
    513 Output all host addresses in dotted-quad numeric format rather than
    514 converting to the canonical host names. 
    515 <div class="node">
    516 <p><hr>
    517 <a name="ntpq-old_002drv"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-config">ntpq config</a>,
    518 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-numeric">ntpq numeric</a>,
    519 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    520 <br>
    521 </div>
    522 
    523 <h4 class="subsection">old-rv option</h4>
    524 
    525 <p><a name="index-ntpq_002dold_002drv-10"></a>
    526 This is the &ldquo;always output status line with readvar&rdquo; option. 
    527 By default, <code>ntpq</code> now suppresses the <code>associd=...</code>
    528 line that precedes the output of <code>readvar</code>
    529 (alias <code>rv</code>) when a single variable is requested, such as
    530 <code>ntpq -c "rv 0 offset"</code>. 
    531 This option causes <code>ntpq</code> to include both lines of output
    532 for a single-variable <code>readvar</code>. 
    533 Using an environment variable to
    534 preset this option in a script will enable both older and
    535 newer <code>ntpq</code> to behave identically in this regard.
    536 
    537 <div class="node">
    538 <p><hr>
    539 <a name="ntpq-config"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#ntpq-exit-status">ntpq exit status</a>,
    540 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-old_002drv">ntpq old-rv</a>,
    541 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    542 <br>
    543 </div>
    544 
    545 <h4 class="subsection">presetting/configuring ntpq</h4>
    546 
    547 <p>Any option that is not marked as <i>not presettable</i> may be preset by
    548 loading values from configuration ("rc" or "ini") files, and values from environment variables named <code>NTPQ</code> and <code>NTPQ_&lt;OPTION_NAME&gt;</code>.  <code>&lt;OPTION_NAME&gt;</code> must be one of
    549 the options listed above in upper case and segmented with underscores. 
    550 The <code>NTPQ</code> variable will be tokenized and parsed like
    551 the command line.  The remaining variables are tested for existence and their
    552 values are treated like option arguments.
    553 
    554 <p class="noindent"><code>libopts</code> will search in 2 places for configuration files:
    555      <ul>
    556 <li>$HOME
    557 <li>$PWD
    558 </ul>
    559   The environment variables <code>HOME</code>, and <code>PWD</code>
    560 are expanded and replaced when <span class="file">ntpq</span> runs. 
    561 For any of these that are plain files, they are simply processed. 
    562 For any that are directories, then a file named <span class="file">.ntprc</span> is searched for
    563 within that directory and processed.
    564 
    565   <p>Configuration files may be in a wide variety of formats. 
    566 The basic format is an option name followed by a value (argument) on the
    567 same line.  Values may be separated from the option name with a colon,
    568 equal sign or simply white space.  Values may be continued across multiple
    569 lines by escaping the newline with a backslash.
    570 
    571   <p>Multiple programs may also share the same initialization file. 
    572 Common options are collected at the top, followed by program specific
    573 segments.  The segments are separated by lines like:
    574 <pre class="example">    [NTPQ]
    575 </pre>
    576   <p class="noindent">or by
    577 <pre class="example">    &lt;?program ntpq&gt;
    578 </pre>
    579   <p class="noindent">Do not mix these styles within one configuration file.
    580 
    581   <p>Compound values and carefully constructed string values may also be
    582 specified using XML syntax:
    583 <pre class="example">    &lt;option-name&gt;
    584        &lt;sub-opt&gt;...&amp;lt;...&amp;gt;...&lt;/sub-opt&gt;
    585     &lt;/option-name&gt;
    586 </pre>
    587   <p class="noindent">yielding an <code>option-name.sub-opt</code> string value of
    588 <pre class="example">    "...&lt;...&gt;..."
    589 </pre>
    590   <p><code>AutoOpts</code> does not track suboptions.  You simply note that it is a
    591 hierarchicly valued option.  <code>AutoOpts</code> does provide a means for searching
    592 the associated name/value pair list (see: optionFindValue).
    593 
    594   <p>The command line options relating to configuration and/or usage help are:
    595 
    596 <h5 class="subsubheading">version (-)</h5>
    597 
    598 <p>Print the program version to standard out, optionally with licensing
    599 information, then exit 0.  The optional argument specifies how much licensing
    600 detail to provide.  The default is to print just the version.  The licensing infomation may be selected with an option argument. 
    601 Only the first letter of the argument is examined:
    602 
    603      <dl>
    604 <dt><span class="samp">version</span><dd>Only print the version.  This is the default. 
    605 <br><dt><span class="samp">copyright</span><dd>Name the copyright usage licensing terms. 
    606 <br><dt><span class="samp">verbose</span><dd>Print the full copyright usage licensing terms. 
    607 </dl>
    608 
    609 <div class="node">
    610 <p><hr>
    611 <a name="ntpq-exit-status"></a>Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-config">ntpq config</a>,
    612 Up:&nbsp;<a rel="up" accesskey="u" href="#ntpq-Invocation">ntpq Invocation</a>
    613 <br>
    614 </div>
    615 
    616 <h4 class="subsection">ntpq exit status</h4>
    617 
    618 <p>One of the following exit values will be returned:
    619      <dl>
    620 <dt><span class="samp">0 (EXIT_SUCCESS)</span><dd>Successful program execution. 
    621 <br><dt><span class="samp">1 (EXIT_FAILURE)</span><dd>The operation failed or the command syntax was not valid. 
    622 <br><dt><span class="samp">66 (EX_NOINPUT)</span><dd>A specified configuration file could not be loaded. 
    623 <br><dt><span class="samp">70 (EX_SOFTWARE)</span><dd>libopts had an internal operational error.  Please report
    624 it to autogen-users (a] lists.sourceforge.net.  Thank you. 
    625 </dl>
    626 
    627 <div class="node">
    628 <p><hr>
    629 <a name="Usage"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Internal-Commands">Internal Commands</a>,
    630 Previous:&nbsp;<a rel="previous" accesskey="p" href="#ntpq-Description">ntpq Description</a>,
    631 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
    632 <br>
    633 </div>
    634 
    635 <!-- node-name,  next,  previous,  up -->
    636 <h3 class="section">Usage</h3>
    637 
    638 <p><table summary=""><tr align="left"><th valign="top" width="23%">What </th><th valign="top" width="23%">Default </th><th valign="top" width="5%">Flag </th><th valign="top" width="15%">Option
    639 <br></th></tr><tr align="left"><td valign="top" width="23%">configuration file
    640 </td><td valign="top" width="23%"><code>/etc/ntp.conf</code>
    641 </td><td valign="top" width="5%"><code>-c</code>
    642 </td><td valign="top" width="15%"><code>conffile</code>
    643 <br></td></tr><tr align="left"><td valign="top" width="23%">frequency file
    644 </td><td valign="top" width="23%">none
    645 </td><td valign="top" width="5%"><code>-f</code>
    646 </td><td valign="top" width="15%"><code>driftfile</code>
    647 <br></td></tr><tr align="left"><td valign="top" width="23%">leapseconds file
    648 </td><td valign="top" width="23%">none
    649 </td><td valign="top" width="5%">
    650 </td><td valign="top" width="15%"><code>leapfile</code>
    651 <br></td></tr><tr align="left"><td valign="top" width="23%">process ID file
    652 </td><td valign="top" width="23%">none
    653 </td><td valign="top" width="5%"><code>-p</code>
    654 </td><td valign="top" width="15%"><code>pidfile</code>
    655 <br></td></tr><tr align="left"><td valign="top" width="23%">log file
    656 </td><td valign="top" width="23%">system log
    657 </td><td valign="top" width="5%"><code>-l</code>
    658 </td><td valign="top" width="15%"><code>logfile</code>
    659 <br></td></tr><tr align="left"><td valign="top" width="23%">include file
    660 </td><td valign="top" width="23%">none
    661 </td><td valign="top" width="5%">none
    662 </td><td valign="top" width="15%"><code>includefile</code>
    663 <br></td></tr><tr align="left"><td valign="top" width="23%">statistics path
    664 </td><td valign="top" width="23%"><code>/var/NTP</code>
    665 </td><td valign="top" width="5%"><code>-s</code>
    666 </td><td valign="top" width="15%"><code>statsdir</code>
    667 <br></td></tr><tr align="left"><td valign="top" width="23%">keys path
    668 </td><td valign="top" width="23%"><code>/usr/local/etc</code>
    669 </td><td valign="top" width="5%"><code>-k</code>
    670 </td><td valign="top" width="15%"><code>keysdir</code>
    671 <br></td></tr></table>
    672 
    673 <div class="node">
    674 <p><hr>
    675 <a name="Internal-Commands"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Control-Message-Commands">Control Message Commands</a>,
    676 Previous:&nbsp;<a rel="previous" accesskey="p" href="#Usage">Usage</a>,
    677 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
    678 <br>
    679 </div>
    680 
    681 <!-- node-name,  next,  previous,  up -->
    682 <h3 class="section">Internal Commands</h3>
    683 
    684 <p>Interactive format commands consist of a keyword followed by zero to four arguments.  Only enough characters of the full keyword to uniquely identify the command need be typed.  The output of a command is normally sent to the standard output, but optionally the output of individual commands may be sent to a file by appending a <code>&gt;</code>, followed by a file name, to the command line.  A number of interactive format commands are executed entirely within the <code>ntpq</code> program itself and do not result in NTP mode-6 requests being sent to a server.  These are described following.
    685 
    686      <dl>
    687 <dt><code><a name="help"></a> ? [</code><kbd>command_keyword</kbd><code>]</code><dt><code>help [</code><kbd>command_keyword</kbd><code>]</code><dd>A <code>?</code> by itself will print a list of all the command keywords known to <code>ntpq</code>.  A <code>?</code> followed by a command keyword will print function and usage information about the command.
    688 
    689      <br><dt><code><a name="addvars"></a> &gt;addvars </code><kbd>name</kbd><code> [ = </code><kbd>value</kbd><code>] [...]</code><dt><code>rmvars </code><kbd>name</kbd><code> [...]</code><dt><code>clearvars&lt;/dt&gt;</code><dd>The arguments to these commands consist of a list of items of the form
    690 <kbd>name</kbd><code> = </code><kbd>value</kbd>, where the <code>= </code><kbd>value</kbd> is ignored,
    691 and can be omitted in read requests. 
    692 <code>ntpq</code> maintains an internal list in which data to be included
    693 in control messages can be assembled, and sent using the <code>readlist</code>
    694 and <code>writelist</code> commands described below. 
    695 The <code>addvars</code> command allows variables and optional values
    696 to be added to the list. 
    697 If more than one variable is to be added
    698 the list should be comma-separated and not contain white space. 
    699 The <code>rmvars</code> command can be used to remove individual variables
    700 from the list,
    701 while the <code>clearlist</code> command removes all variables from the list.
    702 
    703      <br><dt><code><a name="cooked"></a> cooked</code><dd>Display server messages in prettyprint format.
    704 
    705      <br><dt><code><a name="debug"></a> debug more | less | off</code><dd>Turns internal query program debugging on and off.
    706 
    707      <br><dt><code><a name="delay"></a> delay </code><kbd>milliseconds</kbd><dd>Specify a time interval to be added to timestamps included in requests which require authentication.  This is used to enable (unreliable) server reconfiguration over long delay network paths or between machines whose clocks are unsynchronized.  Actually the server does not now require timestamps in authenticated requests, so this command may be obsolete.
    708 
    709      <br><dt><code><a name="host"></a> host </code><kbd>name</kbd><dd>Set the host to which future queries will be sent. 
    710 The name may be either a DNS name or a numeric address.
    711 
    712      <br><dt><code><a name="hostnames"></a> hostnames [yes | no]</code><dd>If <code>yes</code> is specified, host names are printed in information displays. 
    713 If <code>no</code> is specified, numeric addresses are printed instead. 
    714 The default is <code>yes</code>,
    715 unless modified using the command line <code>-n</code> switch.
    716 
    717      <br><dt><code><a name="keyid"></a> keyid </code><kbd>keyid</kbd><dd>This command specifies the key number to be used
    718 to authenticate configuration requests. 
    719 This must correspond to a key ID configured in <code>ntp.conf</code> for this purpose.
    720 
    721      <br><dt><code><a name="keytype"></a> keytype</code><dd>Specify the digest algorithm to use for authenticated requests,
    722 with default <code>MD5</code>. 
    723 If the OpenSSL library is installed,
    724 digest can be be any message digest algorithm supported by the library. 
    725 The current selections are: <code>MD2</code>, <code>MD4</code>, <code>MD5</code>, <code>MDC2</code>, <code>RIPEMD160</code>, <code>SHA</code> and <code>SHA1</code>.
    726 
    727      <br><dt><code><a name="ntpversion"></a> ntpversion 1 | 2 | 3 | 4</code><dd>Sets the NTP version number which <code>ntpq</code> claims in packets. 
    728 Defaults to 2. 
    729 Note that mode-6 control messages (and modes, for that matter)
    730 didn't exist in NTP version 1.
    731 
    732      <br><dt><code><a name="passwd"></a> passwd</code><dd>This command prompts for a password to authenticate requests. 
    733 The password must correspond to the key ID configured in <code>ntp.conf</code> for this purpose.
    734 
    735      <br><dt><code><a name="quit"></a> quit</code><dd>Exit <code>ntpq</code>.
    736 
    737      <br><dt><code><a name="raw"></a> raw</code><dd>Display server messages as received and without reformatting.
    738 
    739      <br><dt><code><a name="timeout"></a> timeout </code><kbd>millseconds</kbd><dd>Specify a timeout period for responses to server queries. 
    740 The default is about 5000 milliseconds. 
    741 Note that since <code>ntpq</code> retries each query once after a timeout
    742 the total waiting time for a timeout will be twice the timeout value set.
    743 
    744   </dl>
    745 
    746 <div class="node">
    747 <p><hr>
    748 <a name="Control-Message-Commands"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Status-Words-and-Kiss-Codes">Status Words and Kiss Codes</a>,
    749 Previous:&nbsp;<a rel="previous" accesskey="p" href="#Internal-Commands">Internal Commands</a>,
    750 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
    751 <br>
    752 </div>
    753 
    754 <!-- node-name,  next,  previous,  up -->
    755 <h3 class="section">Control Message Commands</h3>
    756 
    757 <p>Association IDs are used to identify system, peer and clock variables. 
    758 System variables are assigned an association ID of zero and system name space,
    759 while each association is assigned a nonzero association ID and peer namespace. 
    760 Most control commands send a single mode-6 message to the server
    761 and expect a single response message. 
    762 The exceptions are the <code>peers</code> command,
    763 which sends a series of messages,
    764 and the <code>mreadlist</code> and <code>mreadvar</code> commands,
    765 which iterate over a range of associations.
    766 
    767   <p><a name="as"></a>
    768      <dl>
    769 <dt><code>associations</code><dd>Display a list of mobilized associations in the form:
    770 <br>
    771 <code>ind assid status conf reach auth condition last_event cnt</code>
    772 
    773      <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="40%">Description
    774 
    775      <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>ind</code>
    776 </td><td valign="top" width="40%">index on this list
    777 
    778      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>assid</code>
    779 </td><td valign="top" width="40%">association ID
    780 
    781      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>status</code>
    782 </td><td valign="top" width="40%"><a href="decode.html#peer">peer status word</a>
    783 
    784      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>conf</code>
    785 </td><td valign="top" width="40%"><code>yes</code>: persistent, <code>no</code>: ephemeral
    786 
    787      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>reach</code>
    788 </td><td valign="top" width="40%"><code>yes</code>: reachable, <code>no</code>: unreachable
    789 
    790      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>auth</code>
    791 </td><td valign="top" width="40%"><code>ok</code>, <code>yes</code>, <code>bad</code> and <code>none</code>
    792 
    793      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>condition</code>
    794 </td><td valign="top" width="40%">selection status (see the <code>select</code> field of the <a href="decode.html#peer">peer status word</a>)
    795 
    796      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>last_event</code>
    797 </td><td valign="top" width="40%">event report (see the <code>event</code> field of the <a href="decode.html#peer">peer status word</a>)
    798 
    799      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>cnt</code>
    800 event count (see the <code>count</code> field of the <a href="decode.html#peer">peer status word</a>)
    801 
    802      <br></td></tr></table>
    803 
    804      <br><dt><code><a name="cv"></a> clockvar </code><kbd>assocID</kbd><code> [</code><kbd>name</kbd><code> [ = </code><kbd>value</kbd><code> [...]] [...]]</code><dt><code>cv </code><kbd>assocID</kbd><code> [</code><kbd>name</kbd><code> [ = </code><kbd>value</kbd><code> [...] ][...]]</code><dd>Display a list of <a href="#clock">clock variables</a> for those associations supporting a reference clock.
    805 
    806      <br><dt><code><a name="_003aconfig"></a> :config [...]</code><dd>Send the remainder of the command line, including whitespace, to the server
    807 as a run-time configuration command in the same format
    808 as the configuration file. 
    809 This command is experimental until further notice and clarification. 
    810 Authentication is of course required.
    811 
    812      <br><dt><code><a name="config_002dfrom_002dfile"></a> config-from-file </code><kbd>filename</kbd><dd>Send the each line of <kbd>filename</kbd> to the server as
    813 run-time configuration commands in the same format as the configuration file. 
    814 This command is experimental until further notice and clarification. 
    815 Authentication is required.
    816 
    817      <br><dt><code><a name="ifstats"></a> ifstats</code><dd>Display statistics for each local network address. 
    818 Authentication is required.
    819 
    820      <br><dt><code><a name="iostats"></a> iostats</code><dd>Display network and reference clock I/O statistics.
    821 
    822      <br><dt><code><a name="kerninfo"></a> kerninfo</code><dd>Display kernel loop and PPS statistics. 
    823 As with other ntpq output, times are in milliseconds. 
    824 The precision value displayed is in milliseconds as well,
    825 unlike the precision system variable.
    826 
    827      <br><dt><code><a name="lassoc"></a> lassociations</code><dd>Perform the same function as the associations command,
    828 except display mobilized and unmobilized associations.
    829 
    830      <br><dt><code><a name="monstats"></a> monstats</code><dd>Display monitor facility statistics.
    831 
    832      <br><dt><code><a name="mrulist"></a> mrulist [limited | kod | mincount=</code><kbd>count</kbd><code> | laddr=</code><kbd>localaddr</kbd><code> | sort=</code><kbd>sortorder</kbd><code> | resany=</code><kbd>hexmask</kbd><code> | resall=</code><kbd>hexmask</kbd><code>]</code><dd>Obtain and print traffic counts collected and maintained by
    833 the monitor facility. 
    834 With the exception of <code>sort=</code><kbd>sortorder</kbd>,
    835 the options filter the list returned by <code>ntpd</code>. 
    836 The <code>limited</code> and <code>kod</code> options return only entries
    837 representing client addresses from which the last packet received
    838 triggered either discarding or a KoD response. 
    839 The <code>mincount=</code><kbd>count</kbd> option filters entries representing
    840 less than <kbd>count</kbd> packets. 
    841 The <code>laddr=</code><kbd>localaddr</kbd> option filters entries for packets
    842 received on any local address other than <kbd>localaddr</kbd>. 
    843 <code>resany=</code><kbd>hexmask</kbd> and <code>resall=</code><kbd>hexmask</kbd>
    844 filter entries containing none or less than all, respectively,
    845 of the bits in <kbd>hexmask</kbd>, which must begin with <code>0x</code>. 
    846 <br>
    847 The <kbd>sortorder</kbd> defaults to <code>lstint</code> and may be any of
    848 <code>addr</code>, <code>count</code>, <code>avgint</code>, <code>lstint</code>, or
    849 any of those preceded by a minus sign (hyphen) to reverse the sort order. 
    850 The output columns are:
    851 
    852      <p><table summary=""><tr align="left"><th valign="top" width="10%">Column </th><th valign="top" width="40%">Description
    853 
    854      <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>lstint</code>
    855 </td><td valign="top" width="40%">
    856 Interval in s between the receipt of the most recent packet from this
    857 address and the completion of the retrieval of the MRU list by <code>ntpq</code>
    858 
    859      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>avgint</code>
    860 </td><td valign="top" width="40%">
    861 Average interval in s between packets from this address.
    862 
    863      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rstr</code>
    864 </td><td valign="top" width="40%">
    865 Restriction flags associated with this address. 
    866 Most are copied unchanged from the matching <code>restrict</code> command,
    867 however 0x400 (kod) and 0x20 (limited) flags are cleared unless
    868 the last packet from this address triggered a rate control response.
    869 
    870      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>r</code>
    871 </td><td valign="top" width="40%">
    872 Rate control indicator, either a period, <code>L</code> or <code>K</code> for
    873 no rate control response, rate limiting by discarding, or
    874 rate limiting with a KoD response, respectively.
    875 
    876      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>m</code>
    877 </td><td valign="top" width="40%">
    878 Packet mode. 
    879 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>v</code>
    880 </td><td valign="top" width="40%">
    881 Packet version number.
    882 
    883      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>count</code>
    884 </td><td valign="top" width="40%">
    885 Packets received from this address.
    886 
    887      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rport</code>
    888 </td><td valign="top" width="40%">
    889 Source port of last packet from this address.
    890 
    891      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>remote address</code>
    892 </td><td valign="top" width="40%">
    893 DNS name, numeric address, or address followed by claimed DNS name which
    894 could not be verified in parentheses.
    895 
    896      <br></td></tr></table>
    897 
    898      <br><dt><code><a name="mreadvar"></a> mreadvar </code><kbd>assocID</kbd> <kbd>assocID</kbd><code> [ </code><kbd>variable_name</kbd><code> [ = </code><kbd>value</kbd><code>[ ... ]</code><dt><code><a name="mrv"></a> mrv </code><kbd>assocID</kbd> <kbd>assocID</kbd><code> [ </code><kbd>variable_name</kbd><code> [ = </code><kbd>value</kbd><code>[ ... ]</code><dd>Perform the same function as the <code>readvar</code> command,
    899 except for a range of association IDs. 
    900 This range is determined from the association list cached by
    901 the most recent <code>associations</code> command.
    902 
    903      <br><dt><code><a name="passoc"></a> passociations</code><dd>Perform the same function as the <code>associations command</code>, except that
    904 it uses previously stored data rather than making a new query.
    905 
    906      <br><dt><code><a name="pe"></a> peers</code><dd>Display a list of peers in the form:
    907 <br>
    908 <code>[tally]remote refid st t when pool reach delay offset jitter</code>
    909 
    910      <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
    911 <br></th></tr><tr align="left"><td valign="top" width="10%"><code>[tally]</code>
    912 </td><td valign="top" width="20%">
    913 single-character code indicating current value of the <code>select</code> field
    914 of the <a href="decode.html#peer">peer status word</a>.
    915 
    916      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>remote</code>
    917 </td><td valign="top" width="20%">
    918 host name (or IP number) of peer
    919 
    920      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>refid</code>
    921 </td><td valign="top" width="20%">
    922 association ID or <a href="decode.html#kiss">kiss code</a>.
    923 
    924      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>st</code>
    925 </td><td valign="top" width="20%">
    926 stratum
    927 
    928      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>t</code>
    929 </td><td valign="top" width="20%">
    930 <code>u</code>: unicast or manycast client,
    931 <code>b</code>: broadcast or multicast client,
    932 <code>l</code>: local (reference clock),
    933 <code>s</code>: symmetric (peer),
    934 <code>A</code>: manycast server,
    935 <code>B</code>: broadcast server,
    936 <code>M</code>: multicast server.
    937 
    938      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>when</code>
    939 </td><td valign="top" width="20%">
    940 sec/min/hr since last received packet
    941 
    942      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>poll</code>
    943 </td><td valign="top" width="20%">
    944 poll interval (log(2) s)
    945 
    946      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>reach</code>
    947 </td><td valign="top" width="20%">
    948 reach shift register (octal)
    949 
    950      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>delay</code>
    951 </td><td valign="top" width="20%">
    952 roundtrip delay
    953 
    954      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>offset</code>
    955 </td><td valign="top" width="20%">
    956 offset of server relative to this host
    957 
    958      <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>jitter</code>
    959 </td><td valign="top" width="20%">
    960 jitter
    961 
    962      <br></td></tr></table>
    963 
    964      <br><dt><code><a name="rv"></a> readvar </code><kbd>assocID</kbd> <kbd>name</kbd><code> [ = </code><kbd>value</kbd><code> ] [,...]</code><dt><code>rv </code><kbd>assocID</kbd><code> [ </code><kbd>name</kbd><code> ] [,...]</code><dd>Display the specified variables. 
    965 If <kbd>assocID</kbd> is zero,
    966 the variables are from the <a href="#system">system variables</a> name space,
    967 otherwise they are from the <a href="#peer">peer variables</a> name space. 
    968 The <kbd>assocID</kbd> is required, as the same name can occur in both spaces. 
    969 If no <kbd>name</kbd> is included,
    970 all operative variables in the name space are displayed. 
    971 In this case only, if the <kbd>assocID</kbd> is omitted, it is assumed zero. 
    972 Multiple names are specified with comma separators and without whitespace. 
    973 Note that time values are represented in milliseconds and
    974 frequency values in parts-per-million (PPM). 
    975 Some NTP timestamps are represented in the format YYYYMMDDTTTT,
    976 where YYYY is the year, MM the month of year, DD the day of month and
    977 TTTT the time of day.
    978 
    979      <br><dt><code><a name="saveconfig"></a> saveconfig </code><kbd>filename</kbd><dd>Write the current configuration, including any runtime modifications
    980 given with <code>:config</code> or <code>config-from-file</code>,
    981 to the ntpd host's file <kbd>filename</kbd>. 
    982 This command will be rejected by the server unless
    983 <a href="miscopt.html#saveconfigdir">saveconfigdir</a>
    984 appears in the <code>ntpd</code> configuration file. 
    985 <kbd>filename</kbd> can use <code>strftime()</code> format specifiers
    986 to substitute the current date and time, for example,
    987 <code>saveconfig ntp-%Y%m%d-%H%M%S.conf</code>. 
    988 The filename used is stored in system variable <code>savedconfig</code>. 
    989 Authentication is required.
    990 
    991      <br><dt><code><a name="writevar"></a> writevar </code><kbd>assocID</kbd> <kbd>name</kbd><code> = </code><kbd>value</kbd><code> [,...]</code><dd>Write the specified variables. 
    992 If the <kbd>assocID</kbd> is zero, the variables are from the
    993 <a href="#system">system variables</a> name space, otherwise they are from the
    994 <a href="#peer">peer variables</a> name	space. 
    995 The <kbd>assocID</kbd> is required,
    996 as the same name can occur in both spaces.
    997 
    998      <br><dt><code><a name="sysinfo"></a> sysinfo</code><dd>Display operational summary.
    999 
   1000      <br><dt><code><a name="sysstats"></a> sysstats</code><dd>Print statistics counters maintained in the protocol module.
   1001 
   1002   </dl>
   1003 
   1004 <div class="node">
   1005 <p><hr>
   1006 <a name="Status-Words-and-Kiss-Codes"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#System-Variables">System Variables</a>,
   1007 Previous:&nbsp;<a rel="previous" accesskey="p" href="#Control-Message-Commands">Control Message Commands</a>,
   1008 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
   1009 <br>
   1010 </div>
   1011 
   1012 <!-- node-name,  next,  previous,  up -->
   1013 <h3 class="section">Status Words and Kiss Codes</h3>
   1014 
   1015 <p>The current state of the operating program is shown
   1016 in a set of status words maintained by the system
   1017 and each association separately. 
   1018 These words are displayed in the <code>rv</code> and <code>as</code> commands
   1019 both in hexadecimal and decoded short tip strings. 
   1020 The codes, tips and short explanations are on the
   1021 <a href="decode.html">Event Messages and Status Words</a> page. 
   1022 The page also includes a list of system and peer messages,
   1023 the code for the latest of which is included in the status word.
   1024 
   1025   <p>Information resulting from protocol machine state transitions
   1026 is displayed using an informal set of ASCII strings called
   1027 <a href="decode.html#kiss">kiss codes</a>. 
   1028 The original purpose was for kiss-o'-death (KoD) packets sent
   1029 by the server to advise the client of an unusual condition. 
   1030 They are now displayed, when appropriate,
   1031 in the reference identifier field in various billboards.
   1032 
   1033 <div class="node">
   1034 <p><hr>
   1035 <a name="System-Variables"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Peer-Variables">Peer Variables</a>,
   1036 Previous:&nbsp;<a rel="previous" accesskey="p" href="#Status-Words-and-Kiss-Codes">Status Words and Kiss Codes</a>,
   1037 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
   1038 <br>
   1039 </div>
   1040 
   1041 <!-- node-name,  next,  previous,  up -->
   1042 <h3 class="section">System Variables</h3>
   1043 
   1044 <p>The following system variables appear in the <code>rv</code> billboard. 
   1045 Not all variables are displayed in some configurations.
   1046 
   1047   <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
   1048 
   1049 <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>status</code>
   1050 </td><td valign="top" width="20%">
   1051 <a href="decode.html#sys">system status word</a>
   1052 
   1053 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>version</code>
   1054 </td><td valign="top" width="20%">
   1055 NTP software version and build time
   1056 
   1057 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>processor</code>
   1058 </td><td valign="top" width="20%">
   1059 hardware platform and version
   1060 
   1061 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>system</code>
   1062 </td><td valign="top" width="20%">
   1063 operating system and version
   1064 
   1065 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>leap</code>
   1066 </td><td valign="top" width="20%">
   1067 leap warning indicator (0-3)
   1068 
   1069 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>stratum</code>
   1070 </td><td valign="top" width="20%">
   1071 stratum (1-15)
   1072 
   1073 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>precision</code>
   1074 </td><td valign="top" width="20%">
   1075 precision (log(2) s)
   1076 
   1077 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rootdelay</code>
   1078 </td><td valign="top" width="20%">
   1079 total roundtrip delay to the primary reference clock
   1080 
   1081 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rootdisp</code>
   1082 </td><td valign="top" width="20%">
   1083 total dispersion to the primary reference clock
   1084 
   1085 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>peer</code>
   1086 </td><td valign="top" width="20%">
   1087 system peer association ID
   1088 
   1089 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>tc</code>
   1090 time constant and poll exponent (log(2) s) (3-17)
   1091 
   1092   <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>mintc</code>
   1093 minimum time constant (log(2) s) (3-10)
   1094 
   1095   <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>clock</code>
   1096 </td><td valign="top" width="20%">
   1097 date and time of day
   1098 
   1099 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>refid</code>
   1100 reference ID or <a href="decode.html#kiss">kiss code</a>
   1101 
   1102   <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>reftime</code>
   1103 </td><td valign="top" width="20%">
   1104 reference time
   1105 
   1106 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>offset</code>
   1107 </td><td valign="top" width="20%">
   1108 combined offset of server relative to this host
   1109 
   1110 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>sys_jitter</code>
   1111 </td><td valign="top" width="20%">
   1112 combined system jitter
   1113 
   1114 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>frequency</code>
   1115 </td><td valign="top" width="20%">
   1116 frequency offset (PPM) relative to hardware clock
   1117 
   1118 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>clk_wander</code>
   1119 </td><td valign="top" width="20%">
   1120 clock frequency wander (PPM)
   1121 
   1122 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>clk_jitter</code>
   1123 </td><td valign="top" width="20%">
   1124 clock jitter
   1125 
   1126 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>tai</code>
   1127 </td><td valign="top" width="20%">
   1128 TAI-UTC offset (s)
   1129 
   1130 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>leapsec</code>
   1131 </td><td valign="top" width="20%">
   1132 NTP seconds when the next leap second is/was inserted
   1133 
   1134 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>expire</code>
   1135 </td><td valign="top" width="20%">
   1136 NTP seconds when the NIST leapseconds file expires
   1137 
   1138   <br></td></tr></table>
   1139 
   1140   <p>The jitter and wander statistics are exponentially-weighted RMS averages. 
   1141 The system jitter is defined in the NTPv4 specification;
   1142 the clock jitter statistic is computed by the clock discipline module.
   1143 
   1144   <p>When the NTPv4 daemon is compiled with the OpenSSL software library,
   1145 additional system variables are displayed, including some or all of the
   1146 following, depending on the particular Autokey dance:
   1147 
   1148   <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
   1149 
   1150 <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>host</code>
   1151 </td><td valign="top" width="20%">
   1152 Autokey host name for this host
   1153 
   1154 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>ident</code>
   1155 </td><td valign="top" width="20%">
   1156 Autokey group name for this host
   1157 
   1158 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>flags</code>
   1159 </td><td valign="top" width="20%">
   1160 host flags  (see Autokey specification)
   1161 
   1162 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>digest</code>
   1163 </td><td valign="top" width="20%">
   1164 OpenSSL message digest algorithm
   1165 
   1166 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>signature</code>
   1167 </td><td valign="top" width="20%">
   1168 OpenSSL digest/signature scheme
   1169 
   1170 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>update</code>
   1171 </td><td valign="top" width="20%">
   1172 NTP seconds at last signature update
   1173 
   1174 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>cert</code>
   1175 </td><td valign="top" width="20%">
   1176 certificate subject, issuer and certificate flags
   1177 
   1178 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>until</code>
   1179 </td><td valign="top" width="20%">
   1180 NTP seconds when the certificate expires
   1181 
   1182   <br></td></tr></table>
   1183 
   1184 <div class="node">
   1185 <p><hr>
   1186 <a name="Peer-Variables"></a>Next:&nbsp;<a rel="next" accesskey="n" href="#Clock-Variables">Clock Variables</a>,
   1187 Previous:&nbsp;<a rel="previous" accesskey="p" href="#System-Variables">System Variables</a>,
   1188 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
   1189 <br>
   1190 </div>
   1191 
   1192 <!-- node-name,  next,  previous,  up -->
   1193 <h3 class="section">Peer Variables</h3>
   1194 
   1195 <p>The following peer variables appear in the <code>rv</code> billboard
   1196 for each association. 
   1197 Not all variables are displayed in some configurations.
   1198 
   1199   <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
   1200 
   1201 <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>associd</code>
   1202 </td><td valign="top" width="20%">
   1203 association ID
   1204 
   1205 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>status</code>
   1206 </td><td valign="top" width="20%">
   1207 <a href="decode.html#peer">peer status word</a>
   1208 
   1209 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>srcadr</code>
   1210 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>srcport</code>
   1211 </td><td valign="top" width="20%">
   1212 source (remote) IP address and port
   1213 
   1214 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>dstadr</code>
   1215 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>dstport</code>
   1216 </td><td valign="top" width="20%">
   1217 destination (local) IP address and port
   1218 
   1219 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>leap</code>
   1220 </td><td valign="top" width="20%">
   1221 leap indicator (0-3)
   1222 
   1223 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>stratum</code>
   1224 </td><td valign="top" width="20%">
   1225 stratum (0-15)
   1226 
   1227 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>precision</code>
   1228 </td><td valign="top" width="20%">
   1229 precision (log(2) s)
   1230 
   1231 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rootdelay</code>
   1232 </td><td valign="top" width="20%">
   1233 total roundtrip delay to the primary reference clock
   1234 
   1235 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>rootdisp</code>
   1236 </td><td valign="top" width="20%">total root dispersion to the primary reference clock
   1237 
   1238 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>refid</code>
   1239 </td><td valign="top" width="20%">
   1240 reference ID or <a href="decode.html#kiss">kiss code</a>
   1241 
   1242 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>reftime</code>
   1243 </td><td valign="top" width="20%">
   1244 reference time
   1245 
   1246 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>reach</code>
   1247 </td><td valign="top" width="20%">
   1248 reach register (octal)
   1249 
   1250 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>unreach</code>
   1251 </td><td valign="top" width="20%">
   1252 unreach counter
   1253 
   1254 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>hmode</code>
   1255 </td><td valign="top" width="20%">
   1256 host mode (1-6)
   1257 
   1258 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>pmode</code>
   1259 </td><td valign="top" width="20%">
   1260 peer mode (1-5)
   1261 
   1262 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>hpoll</code>
   1263 </td><td valign="top" width="20%">
   1264 host poll exponent (log(2) s) (3-17)
   1265 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>ppoll</code>
   1266 </td><td valign="top" width="20%">
   1267 peer poll exponent (log(2) s) (3-17)
   1268 
   1269 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>headway</code>
   1270 </td><td valign="top" width="20%">
   1271 headway (see <a href="rate.html">Rate Management and the Kiss-o'-Death Packet</a>)
   1272 
   1273 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>flash</code>
   1274 </td><td valign="top" width="20%">
   1275 <a href="decode.html#flash">flash status word</a>
   1276 
   1277 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>offset</code>
   1278 </td><td valign="top" width="20%">
   1279 filter offset
   1280 
   1281 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>delay</code>
   1282 </td><td valign="top" width="20%">
   1283 filter delay
   1284 
   1285 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>dispersion</code>
   1286 </td><td valign="top" width="20%">
   1287 filter dispersion
   1288 
   1289 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>jitter</code>
   1290 </td><td valign="top" width="20%">
   1291 filter jitter
   1292 
   1293 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>ident</code>
   1294 </td><td valign="top" width="20%">
   1295 Autokey group name for this association
   1296 
   1297 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>bias</code>
   1298 </td><td valign="top" width="20%">
   1299 unicast/broadcast bias
   1300 
   1301 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>xleave</code>
   1302 </td><td valign="top" width="20%">
   1303 interleave delay (see <a href="xleave.html">NTP Interleaved Modes</a>)
   1304 
   1305   <br></td></tr></table>
   1306 
   1307   <p>The bias variable is calculated when the first broadcast packet is received
   1308 after the calibration volley.  It represents the offset of the broadcast
   1309 subgraph relative to the unicast subgraph.  The xleave variable appears
   1310 only the interleaved symmetric and interleaved modes.  It represents
   1311 the internal queuing, buffering and transmission delays for the preceding
   1312 packet.
   1313 
   1314   <p>When the NTPv4 daemon is compiled with the OpenSSL software library,
   1315 additional peer variables are displayed, including the following:
   1316 
   1317   <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
   1318 
   1319 <p><br></th></tr><tr align="left"><td valign="top" width="10%"><code>flags</code>
   1320 </td><td valign="top" width="20%">
   1321 peer flags (see Autokey specification)
   1322 
   1323 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>host</code>
   1324 </td><td valign="top" width="20%">
   1325 Autokey server name
   1326 
   1327 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>flags</code>
   1328 </td><td valign="top" width="20%">
   1329 peer flags (see Autokey specification)
   1330 
   1331 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>signature</code>
   1332 </td><td valign="top" width="20%">
   1333 OpenSSL digest/signature scheme
   1334 
   1335 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>initsequence</code>
   1336 </td><td valign="top" width="20%">
   1337 initial key ID
   1338 
   1339 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>initkey</code>
   1340 </td><td valign="top" width="20%">
   1341 initial key index
   1342 
   1343 <p><br></td></tr><tr align="left"><td valign="top" width="10%"><code>timestamp</code>
   1344 </td><td valign="top" width="20%">
   1345 Autokey signature timestamp
   1346 
   1347   <br></td></tr></table>
   1348 
   1349 <div class="node">
   1350 <p><hr>
   1351 <a name="Clock-Variables"></a>Previous:&nbsp;<a rel="previous" accesskey="p" href="#Peer-Variables">Peer Variables</a>,
   1352 Up:&nbsp;<a rel="up" accesskey="u" href="#Top">Top</a>
   1353 <br>
   1354 </div>
   1355 
   1356 <!-- node-name,  next,  previous,  up -->
   1357 <h3 class="section">Clock Variables</h3>
   1358 
   1359 <p>The following clock variables appear in the <code>cv</code> billboard for each association with a reference clock.  Not all variables are displayed in some configurations.
   1360 
   1361   <p><table summary=""><tr align="left"><th valign="top" width="10%">Variable </th><th valign="top" width="20%">Description
   1362 <br></th></tr><tr align="left"><td valign="top" width="10%"><code>associd</code>
   1363 </td><td valign="top" width="20%">association ID
   1364 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>status</code>
   1365 </td><td valign="top" width="20%"><a href="decode.html#clock">clock status word</a>
   1366 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>device</code>
   1367 </td><td valign="top" width="20%">device description
   1368 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>timecode</code>
   1369 </td><td valign="top" width="20%">ASCII time code string (specific to device)
   1370 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>poll</code>
   1371 </td><td valign="top" width="20%">poll messages sent
   1372 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>noreply</code>
   1373 </td><td valign="top" width="20%">no reply
   1374 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>badformat</code>
   1375 </td><td valign="top" width="20%">bad format
   1376 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>baddata</code>
   1377 </td><td valign="top" width="20%">bad date or time
   1378 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>fudgetime1</code>
   1379 </td><td valign="top" width="20%">fudge time 1
   1380 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>fudgetime2</code>
   1381 </td><td valign="top" width="20%">fudge time 2
   1382 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>stratum</code>
   1383 </td><td valign="top" width="20%">driver stratum
   1384 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>refid</code>
   1385 </td><td valign="top" width="20%">driver reference ID
   1386 <br></td></tr><tr align="left"><td valign="top" width="10%"><code>flags</code>
   1387 </td><td valign="top" width="20%">driver flags
   1388   <br></td></tr></table>
   1389 
   1390 </body></html>
   1391 
   1392