2 .Dt NTPQ 8 User Commands
4 .\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
8 .\" It has been AutoGen-ed August 14, 2018 at 08:30:05 AM by AutoGen 5.18.5
9 .\" From the definitions ntpq-opts.def
10 .\" and the template file agmdoc-cmd.tpl
13 .Nd standard NTP query program
16 .\" Mixture of short (flag) options and long options
18 .Op Fl flag Op Ar value
19 .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
26 utility program is used to query NTP servers to monitor NTP operations
27 and performance, requesting
28 information about current state and/or changes in that state.
29 The program may be run either in interactive mode or controlled using
30 command line arguments.
31 Requests to read and write arbitrary
32 variables can be assembled, with raw and pretty\-printed output
33 options being available.
36 utility can also obtain and print a
37 list of peers in a common format by sending multiple queries to the
40 If one or more request options is included on the command line
43 is executed, each of the requests will be sent
44 to the NTP servers running on each of the hosts given as command
45 line arguments, or on localhost by default.
49 will attempt to read commands from the
50 standard input and execute these on the NTP server running on the
51 first host given on the command line, again defaulting to localhost
52 when no other host is specified.
55 utility will prompt for
56 commands if the standard input is a terminal device.
59 uses NTP mode 6 packets to communicate with the
60 NTP server, and hence can be used to query any compatible server on
61 the network which permits it.
62 Note that since NTP is a UDP protocol
63 this communication will be somewhat unreliable, especially over
64 large distances in terms of network topology.
68 one attempt to retransmit requests, and will time requests out if
69 the remote host is not heard from within a suitable timeout
72 Note that in contexts where a host name is expected, a
74 qualifier preceding the host name forces resolution to the IPv4
77 qualifier forces resolution to the IPv6 namespace.
78 For examples and usage, see the
79 .Dq NTP Debugging Techniques
83 command line option other than
88 cause the specified query (queries) to be sent to the indicated
93 interactive format commands from the standard input.
94 .Ss "Internal Commands"
96 Interactive format commands consist of a keyword followed by zero
98 Only enough characters of the full keyword to
99 uniquely identify the command need be typed.
102 number of interactive format commands are executed entirely within
105 utility itself and do not result in NTP
106 requests being sent to a server.
107 These are described following.
108 .Bl -tag -width "help [command]" -compact -offset indent
109 .It Ic ? Op Ar command
110 .It Ic help Op Ar command
113 by itself will print a list of all the commands
118 followed by a command name will print function and usage
119 information about the command.
120 .It Ic addvars Ar name Ns Oo \&= Ns Ar value Oc Ns Op ,...
121 .It Ic rmvars Ar name Ns Op ,...
124 The arguments to this command consist of a list of
126 .Ar name Ns Op \&= Ns Ar value ,
129 is ignored, and can be omitted,
130 in requests to the server to read variables.
133 utility maintains an internal list in which data to be included in
134 messages can be assembled, and displayed or set using the
138 commands described below.
141 command allows variables and their optional values to be added to
143 If more than one variable is to be added, the list should
144 be comma\-separated and not contain white space.
147 command can be used to remove individual variables from the list,
150 command removes all variables from the
154 command displays the current list of optional variables.
155 .It Ic authenticate Op Cm yes Ns | Ns Cm no
158 does not authenticate requests unless
159 they are write requests.
161 .Ic authenticate Cm yes
164 to send authentication with all requests it
166 Authenticated requests causes some servers to handle
167 requests slightly differently.
172 to display whether or not
173 it is currently authenticating requests.
175 Causes output from query commands to be "cooked", so that
176 variables which are recognized by
179 values reformatted for human consumption.
182 could not decode completely are
183 marked with a trailing
185 .It Ic debug Op Cm more Ns | Ns Cm less Ns | Ns Cm off
186 With no argument, displays the current debug level.
187 Otherwise, the debugging level is changed as indicated.
188 .It Ic delay Op Ar milliseconds
189 Specify a time interval to be added to timestamps included in
190 requests which require authentication.
191 This is used to enable
192 (unreliable) server reconfiguration over long delay network paths
193 or between machines whose clocks are unsynchronized.
195 server does not now require timestamps in authenticated requests,
196 so this command may be obsolete.
197 Without any arguments, displays the current delay.
198 .It Ic drefid Op Cm hash Ns | Ns Cm ipv4
199 Display refids as IPv4 or hash.
200 Without any arguments, displays whether refids are shown as IPv4
205 .It Ic host Op Ar name
206 Set the host to which future queries will be sent.
209 may be either a host name or a numeric address.
210 Without any arguments, displays the current host.
211 .It Ic hostnames Op Cm yes Ns | Ns Cm no
214 is specified, host names are printed in
215 information displays.
218 is specified, numeric
219 addresses are printed instead.
223 modified using the command line
226 Without any arguments, displays whether host names or numeric addresses
228 .It Ic keyid Op Ar keyid
229 This command allows the specification of a key number to be
230 used to authenticate configuration requests.
234 key number the server has been configured to use for this
236 Without any arguments, displays the current
238 .It Ic keytype Op Ar digest
239 Specify the digest algorithm to use for authenticating requests, with default
243 was built with OpenSSL support, and OpenSSL is installed,
245 can be any message digest algorithm supported by OpenSSL.
246 If no argument is given, the current
247 .Ic keytype Ar digest
248 algorithm used is displayed.
249 .It Ic ntpversion Op Cm 1 Ns | Ns Cm 2 Ns | Ns Cm 3 Ns | Ns Cm 4
250 Sets the NTP version number which
254 Defaults to 3, and note that mode 6 control messages (and
255 modes, for that matter) didn't exist in NTP version 1.
257 to be no servers left which demand version 1.
258 With no argument, displays the current NTP version that will be used
259 when communicating with servers.
261 This command prompts you to type in a password (which will not
262 be echoed) which will be used to authenticate configuration
264 The password must correspond to the key configured for
265 use by the NTP server for this purpose if such requests are to be
267 .It Ic poll Oo Ar n Oc Op Cm verbose
268 Poll an NTP server in client mode
271 Poll not implemented yet.
276 Causes all output from query commands is printed as received
277 from the remote server.
278 The only formating/interpretation done on
279 the data is to transform nonascii data into a printable (but barely
280 understandable) form.
281 .It Ic timeout Op Ar milliseconds
282 Specify a timeout period for responses to server queries.
284 default is about 5000 milliseconds.
285 Without any arguments, displays the current timeout period.
288 retries each query once after a timeout, the total waiting time for
289 a timeout will be twice the timeout value set.
291 Display the version of the
295 .Ss "Control Message Commands"
296 Association ids are used to identify system, peer and clock variables.
297 System variables are assigned an association id of zero and system name
298 space, while each association is assigned a nonzero association id and
300 Most control commands send a single message to the server and expect a
301 single response message.
302 The exceptions are the
304 command, which sends a series of messages,
309 commands, which iterate over a range of associations.
310 .Bl -tag -width "something" -compact -offset indent
312 Display a list of peers in the form:
313 .Dl [tally]remote refid assid st t when pool reach delay offset jitter
314 where the output is just like the
316 command except that the
318 is displayed in hex format and the association number is also displayed.
320 Display a list of mobilized associations in the form:
321 .Dl ind assid status conf reach auth condition last_event cnt
322 .Bl -column -offset indent ".Sy Variable" "see the select field of the peer status word"
323 .It Sy Variable Ta Sy Description
324 .It Cm ind Ta index on this list
325 .It Cm assid Ta association id
326 .It Cm status Ta peer status word
327 .It Cm conf Ta Cm yes : No persistent, Cm no : No ephemeral
328 .It Cm reach Ta Cm yes : No reachable, Cm no : No unreachable
329 .It Cm auth Ta Cm ok , Cm yes , Cm bad No and Cm none
330 .It Cm condition Ta selection status \&(see the Cm select No field of the peer status word\&)
331 .It Cm last_event Ta event report \&(see the Cm event No field of the peer status word\&)
332 .It Cm cnt Ta event count \&(see the Cm count No field of the peer status word\&)
335 Display the authentication statistics counters:
336 time since reset, stored keys, free keys, key lookups, keys not found,
337 uncached keys, expired keys, encryptions, decryptions.
338 .It Ic clocklist Op Ar associd
339 .It Ic cl Op Ar associd
340 Display all clock variables in the variable list for those associations
341 supporting a reference clock.
342 .It Ic clockvar Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
343 .It Ic cv Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
344 Display a list of clock variables for those associations supporting a
346 .It Ic :config Ar "configuration command line"
347 Send the remainder of the command line, including whitespace, to the
348 server as a run\-time configuration command in the same format as a line
349 in the configuration file.
350 This command is experimental until further notice and clarification.
351 Authentication is of course required.
352 .It Ic config\-from\-file Ar filename
355 to the server as run\-time configuration commands in the same format as
356 lines in the configuration file.
357 This command is experimental until further notice and clarification.
358 Authentication is required.
360 Display status and statistics counters for each local network interface address:
361 interface number, interface name and address or broadcast, drop, flag,
362 ttl, mc, received, sent, send failed, peers, uptime.
363 Authentication is required.
365 Display network and reference clock I/O statistics:
366 time since reset, receive buffers, free receive buffers, used receive buffers,
367 low water refills, dropped packets, ignored packets, received packets,
368 packets sent, packet send failures, input wakeups, useful input wakeups.
370 Display kernel loop and PPS statistics:
371 associd, status, pll offset, pll frequency, maximum error,
372 estimated error, kernel status, pll time constant, precision,
373 frequency tolerance, pps frequency, pps stability, pps jitter,
374 calibration interval, calibration cycles, jitter exceeded,
375 stability exceeded, calibration errors.
376 As with other ntpq output, times are in milliseconds; very small values
377 may be shown as exponentials.
378 The precision value displayed is in milliseconds as well, unlike the
379 precision system variable.
381 Perform the same function as the associations command, except display
382 mobilized and unmobilized associations, including all clients.
383 .It Ic lopeers Op Fl 4 Ns | Ns Fl 6
384 Display a list of all peers and clients showing
386 (associated with the given IP version).
387 .It Ic lpassociations
388 Display the last obtained list of associations, including all clients.
389 .It Ic lpeers Op Fl 4 Ns | Ns Fl 6
390 Display a list of all peers and clients (associated with the given IP version).
392 Display monitor facility status, statistics, and limits:
393 enabled, addresses, peak addresses, maximum addresses,
394 reclaim above count, reclaim older than, kilobytes, maximum kilobytes.
395 .It Ic mreadlist Ar associdlo Ar associdhi
396 .It Ic mrl Ar associdlo Ar associdhi
397 Perform the same function as the
399 command for a range of association ids.
400 .It Ic mreadvar Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
401 This range may be determined from the list displayed by any
402 command showing associations.
403 .It Ic mrv Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
404 Perform the same function as the
406 command for a range of association ids.
407 This range may be determined from the list displayed by any
408 command showing associations.
409 .It Xo Ic mrulist Oo Cm limited | Cm kod | Cm mincount Ns \&= Ns Ar count |
410 .Cm laddr Ns \&= Ns Ar localaddr | Cm sort Ns \&= Ns Oo \&\- Oc Ns Ar sortorder |
411 .Cm resany Ns \&= Ns Ar hexmask | Cm resall Ns \&= Ns Ar hexmask Oc
413 Display traffic counts of the most recently seen source addresses
414 collected and maintained by the monitor facility.
415 With the exception of
416 .Cm sort Ns \&= Ns Oo \&\- Oc Ns Ar sortorder ,
417 the options filter the list returned by
423 options return only entries representing client addresses from which the
424 last packet received triggered either discarding or a KoD response.
426 .Cm mincount Ns = Ns Ar count
427 option filters entries representing less than
431 .Cm laddr Ns = Ns Ar localaddr
432 option filters entries for packets received on any local address other than
434 .Cm resany Ns = Ns Ar hexmask
436 .Cm resall Ns = Ns Ar hexmask
437 filter entries containing none or less than all, respectively, of the bits in
439 which must begin with
450 or any of those preceded by
452 to reverse the sort order.
453 The output columns are:
454 .Bl -tag -width "something" -compact -offset indent
458 Interval in seconds between the receipt of the most recent packet from
459 this address and the completion of the retrieval of the MRU list by
462 Average interval in s between packets from this address.
464 Restriction flags associated with this address.
465 Most are copied unchanged from the matching
467 command, however 0x400 (kod) and 0x20 (limited) flags are cleared unless
468 the last packet from this address triggered a rate control response.
470 Rate control indicator, either
475 for no rate control response,
476 rate limiting by discarding, or rate limiting with a KoD response, respectively.
480 Packet version number.
482 Packets received from this address.
484 Source port of last packet from this address.
485 .It Ic remote address
486 host or DNS name, numeric address, or address followed by
487 claimed DNS name which could not be verified in parentheses.
489 .It Ic opeers Op Fl 4 | Fl 6
490 Obtain and print the old\-style list of all peers and clients showing
492 (associated with the given IP version),
496 Perform the same function as the
499 except that it uses previously stored data rather than making a new query.
501 Display a list of peers in the form:
502 .Dl [tally]remote refid st t when pool reach delay offset jitter
503 .Bl -tag -width "something" -compact -offset indent
507 single\-character code indicating current value of the
510 .Lk decode.html#peer "peer status word"
512 host name (or IP number) of peer.
513 The value displayed will be truncated to 15 characters unless the
516 option is given, in which case the full value will be displayed
517 on the first line, and if too long,
518 the remaining data will be displayed on the next line.
521 .Lk decode.html#kiss "'kiss code"
523 stratum: 0 for local reference clocks, 1 for servers with local
524 reference clocks, ..., 16 for unsynchronized server clocks
527 unicast or manycast client,
529 broadcast or multicast client,
533 local (reference clock),
543 time in seconds, minutes, hours, or days since the last packet
546 if a packet has never been received
550 reach shift register (octal)
554 offset of server relative to this host
556 offset RMS error estimate.
558 .It Ic pstats Ar associd
559 Display the statistics for the peer with the given
561 associd, status, remote host, local address, time last received,
562 time until next send, reachability change, packets sent,
563 packets received, bad authentication, bogus origin, duplicate,
564 bad dispersion, bad reference time, candidate order.
565 .It Ic readlist Op Ar associd
566 .It Ic rl Op Ar associd
567 Display all system or peer variables.
570 is omitted, it is assumed to be zero.
571 .It Ic readvar Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
572 .It Ic rv Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
573 Display the specified system or peer variables.
576 is zero, the variables are from the
578 name space, otherwise they are from the
583 is required, as the same name can occur in both spaces.
586 is included, all operative variables in the name space are displayed.
587 In this case only, if the
589 is omitted, it is assumed to be zero.
590 Multiple names are specified with comma separators and without whitespace.
591 Note that time values are represented in milliseconds
592 and frequency values in parts\-per\-million (PPM).
593 Some NTP timestamps are represented in the format
594 .Ar YYYY Ns Ar MM Ar DD Ar TTTT ,
605 Display the access control (restrict) list for
607 Authentication is required.
608 .It Ic saveconfig Ar filename
609 Save the current configuration,
610 including any runtime modifications made by
613 .Ic config\-from\-file ,
614 to the NTP server host file
616 This command will be rejected by the server unless
617 .Lk miscopt.html#saveconfigdir "saveconfigdir"
624 format specifiers to substitute the current date and time, for
626 .D1 Ic saveconfig Pa ntp\-%Y%m%d\-%H%M%S.conf .
627 The filename used is stored in system variable
629 Authentication is required.
631 Display system operational summary:
632 associd, status, system peer, system peer mode, leap indicator,
633 stratum, log2 precision, root delay, root dispersion,
634 reference id, reference time, system jitter, clock jitter,
635 clock wander, broadcast delay, symm. auth. delay.
637 Display system uptime and packet counts maintained in the
639 uptime, sysstats reset, packets received, current version,
640 older version, bad length or format, authentication failed,
641 declined, restricted, rate limited, KoD responses,
644 Display interval timer counters:
645 time since reset, timer overruns, calls to transmit.
646 .It Ic writelist Ar associd
647 Set all system or peer variables included in the variable list.
648 .It Ic writevar Ar associd Ar name Ns = Ns Ar value Op , ...
649 Set the specified variables in the variable list.
652 is zero, the variables are from the
654 name space, otherwise they are from the
659 is required, as the same name can occur in both spaces.
660 Authentication is required.
662 .Ss Status Words and Kiss Codes
663 The current state of the operating program is shown
664 in a set of status words
665 maintained by the system.
666 Status information is also available on a per\-association basis.
667 These words are displayed by the
671 commands both in hexadecimal and in decoded short tip strings.
672 The codes, tips and short explanations are documented on the
673 .Lk decode.html "Event Messages and Status Words"
675 The page also includes a list of system and peer messages,
676 the code for the latest of which is included in the status word.
678 Information resulting from protocol machine state transitions
679 is displayed using an informal set of ASCII strings called
680 .Lk decode.html#kiss "kiss codes" .
681 The original purpose was for kiss\-o'\-death (KoD) packets
682 sent by the server to advise the client of an unusual condition.
683 They are now displayed, when appropriate,
684 in the reference identifier field in various billboards.
686 The following system variables appear in the
689 Not all variables are displayed in some configurations.
691 .Bl -tag -width "something" -compact -offset indent
695 .Lk decode.html#sys "system status word"
697 NTP software version and build time
699 hardware platform and version
701 operating system and version
703 leap warning indicator (0\-3)
709 total roundtrip delay to the primary reference clock
711 total dispersion to the primary reference clock
714 .Lk decode.html#kiss "kiss code"
720 system peer association id
722 time constant and poll exponent (log2 s) (3\-17)
724 minimum time constant (log2 s) (3\-10)
726 combined offset of server relative to this host
728 frequency drift (PPM) relative to hardware clock
730 combined system jitter
732 clock frequency wander (PPM)
738 NTP seconds when the next leap second is/was inserted
740 NTP seconds when the NIST leapseconds file expires
742 The jitter and wander statistics are exponentially\-weighted RMS averages.
743 The system jitter is defined in the NTPv4 specification;
744 the clock jitter statistic is computed by the clock discipline module.
746 When the NTPv4 daemon is compiled with the OpenSSL software library,
747 additional system variables are displayed,
748 including some or all of the following,
749 depending on the particular Autokey dance:
750 .Bl -tag -width "something" -compact -offset indent
754 Autokey host name for this host
756 Autokey group name for this host
758 host flags (see Autokey specification)
760 OpenSSL message digest algorithm
762 OpenSSL digest/signature scheme
764 NTP seconds at last signature update
766 certificate subject, issuer and certificate flags
768 NTP seconds when the certificate expires
771 The following peer variables appear in the
773 billboard for each association.
774 Not all variables are displayed in some configurations.
776 .Bl -tag -width "something" -compact -offset indent
782 .Lk decode.html#peer "peer status word"
784 source (remote) IP address
788 destination (local) IP address
790 destination (local) port
792 leap indicator (0\-3)
798 total roundtrip delay to the primary reference clock
800 total root dispersion to the primary reference clock
803 .Lk decode.html#kiss "kiss code"
807 last packet received time
809 reach register (octal)
817 host poll exponent (log2 s) (3\-17)
819 peer poll exponent (log2 s) (3\-17)
822 .Lk rate.html "Rate Management and the Kiss\-o'\-Death Packet" )
824 .Lk decode.html#flash "flash status word"
836 unicast/broadcast bias
838 interleave delay (see
839 .Lk xleave.html "NTP Interleaved Modes" )
843 variable is calculated when the first broadcast packet is received
844 after the calibration volley.
845 It represents the offset of the broadcast subgraph relative to the
849 variable appears only for the interleaved symmetric and interleaved modes.
850 It represents the internal queuing, buffering and transmission delays
851 for the preceding packet.
853 When the NTPv4 daemon is compiled with the OpenSSL software library,
854 additional peer variables are displayed, including the following:
855 .Bl -tag -width "something" -compact -offset indent
859 peer flags (see Autokey specification)
863 peer flags (see Autokey specification)
865 OpenSSL digest/signature scheme
871 Autokey signature timestamp
873 Autokey group name for this association
876 The following clock variables appear in the
878 billboard for each association with a reference clock.
879 Not all variables are displayed in some configurations.
880 .Bl -tag -width "something" -compact -offset indent
886 .Lk decode.html#clock "clock status word"
890 ASCII time code string (specific to device)
913 Force IPv4 name resolution.
914 This option must not appear in combination with any of the following options:
917 Force resolution of following host names on the command line
918 to the IPv4 namespace.
920 Force IPv6 name resolution.
921 This option must not appear in combination with any of the following options:
924 Force resolution of following host names on the command line
925 to the IPv6 namespace.
926 .It Fl c Ar cmd , Fl \-command Ns = Ns Ar cmd
927 run a command and exit.
928 This option may appear an unlimited number of times.
930 The following argument is interpreted as an interactive format command
931 and is added to the list of commands to be executed on the specified
933 .It Fl d , Fl \-debug\-level
934 Increase debug verbosity level.
935 This option may appear an unlimited number of times.
937 .It Fl D Ar number , Fl \-set\-debug\-level Ns = Ns Ar number
938 Set the debug verbosity level.
939 This option may appear an unlimited number of times.
940 This option takes an integer number as its argument.
942 .It Fl i , Fl \-interactive
943 Force ntpq to operate in interactive mode.
944 This option must not appear in combination with any of the following options:
947 Force \fBntpq\fP to operate in interactive mode.
948 Prompts will be written to the standard output and
949 commands read from the standard input.
950 .It Fl n , Fl \-numeric
951 numeric host addresses.
953 Output all host addresses in dotted\-quad numeric format rather than
954 converting to the canonical host names.
956 Always output status line with readvar.
958 By default, \fBntpq\fP now suppresses the \fBassocid=...\fP
959 line that precedes the output of \fBreadvar\fP
960 (alias \fBrv\fP) when a single variable is requested, such as
961 \fBntpq \-c "rv 0 offset"\fP.
962 This option causes \fBntpq\fP to include both lines of output
963 for a single\-variable \fBreadvar\fP.
964 Using an environment variable to
965 preset this option in a script will enable both older and
966 newer \fBntpq\fP to behave identically in this regard.
967 .It Fl p , Fl \-peers
968 Print a list of the peers.
969 This option must not appear in combination with any of the following options:
972 Print a list of the peers known to the server as well as a summary
973 of their state. This is equivalent to the 'peers' interactive command.
974 .It Fl r Ar keyword , Fl \-refid Ns = Ns Ar keyword
975 Set default display type for S2+ refids.
976 This option takes a keyword as its argument. The argument sets an enumeration value that can
977 be tested by comparing them against the option value macro.
978 The available keywords are:
984 or their numeric equivalent.
993 Set the default display format for S2+ refids.
995 Display the full 'remote' value.
997 Display the full value of the 'remote' value. If this requires
998 more than 15 characters, display the full value, emit a newline,
999 and continue the data display properly indented on the next line.
1000 .It Fl \&? , Fl \-help
1001 Display usage information and exit.
1002 .It Fl \&! , Fl \-more\-help
1003 Pass the extended usage information through a pager.
1004 .It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
1005 Save the option state to \fIcfgfile\fP. The default is the \fIlast\fP
1006 configuration file listed in the \fBOPTION PRESETS\fP section, below.
1007 The command will exit after updating the config file.
1008 .It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
1009 Load options from \fIcfgfile\fP.
1010 The \fIno\-load\-opts\fP form will disable the loading
1011 of earlier config/rc/ini files. \fI\-\-no\-load\-opts\fP is handled early,
1013 .It Fl \-version Op Brq Ar v|c|n
1014 Output version of program and exit. The default mode is `v', a simple
1015 version. The `c' mode will print copyright information and `n' will
1016 print the full copyright notice.
1018 .Sh "OPTION PRESETS"
1019 Any option that is not marked as \fInot presettable\fP may be preset
1020 by loading values from configuration ("RC" or ".INI") file(s) and values from
1021 environment variables named:
1023 \fBNTPQ_<option\-name>\fP or \fBNTPQ\fP
1026 The environmental presets take precedence (are processed later than)
1027 the configuration files.
1028 The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
1029 If any of these are directories, then the file \fI.ntprc\fP
1030 is searched for within those directories.
1032 See \fBOPTION PRESETS\fP for configuration environment variables.
1034 See \fBOPTION PRESETS\fP for configuration files.
1036 One of the following exit values will be returned:
1038 .It 0 " (EXIT_SUCCESS)"
1039 Successful program execution.
1040 .It 1 " (EXIT_FAILURE)"
1041 The operation failed or the command syntax was not valid.
1042 .It 66 " (EX_NOINPUT)"
1043 A specified configuration file could not be loaded.
1044 .It 70 " (EX_SOFTWARE)"
1045 libopts had an internal operational error. Please report
1046 it to autogen\-users@lists.sourceforge.net. Thank you.
1049 The University of Delaware and Network Time Foundation
1051 Copyright (C) 1992\-2017 The University of Delaware and Network Time Foundation all rights reserved.
1052 This program is released under the terms of the NTP license, <http://ntp.org/license>.
1054 Please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
1056 This manual page was \fIAutoGen\fP\-erated from the \fBntpq\fP