2 .Dt NTPQ @NTPQ_MS@ User Commands
4 .\" EDIT THIS FILE WITH CAUTION (ntpq-opts.mdoc)
6 .\" It has been AutoGen-ed June 23, 2020 at 02:20:53 AM by AutoGen 5.18.5
7 .\" From the definitions ntpq-opts.def
8 .\" and the template file agmdoc-cmd.tpl
11 .Nd standard NTP query program
14 .\" Mixture of short (flag) options and long options
16 .Op Fl flag Op Ar value
17 .Op Fl \-option\-name Ns Oo Oo Ns "=| " Oc Ns Ar value Oc
24 utility program is used to query NTP servers to monitor NTP operations
25 and performance, requesting
26 information about current state and/or changes in that state.
27 The program may be run either in interactive mode or controlled using
28 command line arguments.
29 Requests to read and write arbitrary
30 variables can be assembled, with raw and pretty\-printed output
31 options being available.
34 utility can also obtain and print a
35 list of peers in a common format by sending multiple queries to the
38 If one or more request options is included on the command line
41 is executed, each of the requests will be sent
42 to the NTP servers running on each of the hosts given as command
43 line arguments, or on localhost by default.
47 will attempt to read commands from the
48 standard input and execute these on the NTP server running on the
49 first host given on the command line, again defaulting to localhost
50 when no other host is specified.
53 utility will prompt for
54 commands if the standard input is a terminal device.
57 uses NTP mode 6 packets to communicate with the
58 NTP server, and hence can be used to query any compatible server on
59 the network which permits it.
60 Note that since NTP is a UDP protocol
61 this communication will be somewhat unreliable, especially over
62 large distances in terms of network topology.
66 one attempt to retransmit requests, and will time requests out if
67 the remote host is not heard from within a suitable timeout
70 Note that in contexts where a host name is expected, a
72 qualifier preceding the host name forces resolution to the IPv4
75 qualifier forces resolution to the IPv6 namespace.
76 For examples and usage, see the
77 .Dq NTP Debugging Techniques
81 command line option other than
86 cause the specified query (queries) to be sent to the indicated
91 interactive format commands from the standard input.
92 .Ss "Internal Commands"
94 Interactive format commands consist of a keyword followed by zero
96 Only enough characters of the full keyword to
97 uniquely identify the command need be typed.
100 number of interactive format commands are executed entirely within
103 utility itself and do not result in NTP
104 requests being sent to a server.
105 These are described following.
106 .Bl -tag -width "help [command]" -compact -offset indent
107 .It Ic ? Op Ar command
108 .It Ic help Op Ar command
111 by itself will print a list of all the commands
116 followed by a command name will print function and usage
117 information about the command.
118 .It Ic addvars Ar name Ns Oo \&= Ns Ar value Oc Ns Op ,...
119 .It Ic rmvars Ar name Ns Op ,...
122 The arguments to this command consist of a list of
124 .Ar name Ns Op \&= Ns Ar value ,
127 is ignored, and can be omitted,
128 in requests to the server to read variables.
131 utility maintains an internal list in which data to be included in
132 messages can be assembled, and displayed or set using the
136 commands described below.
139 command allows variables and their optional values to be added to
141 If more than one variable is to be added, the list should
142 be comma\-separated and not contain white space.
145 command can be used to remove individual variables from the list,
148 command removes all variables from the
152 command displays the current list of optional variables.
153 .It Ic authenticate Op Cm yes Ns | Ns Cm no
156 does not authenticate requests unless
157 they are write requests.
159 .Ic authenticate Cm yes
162 to send authentication with all requests it
164 Authenticated requests causes some servers to handle
165 requests slightly differently.
170 to display whether or not
171 it is currently authenticating requests.
173 Causes output from query commands to be "cooked", so that
174 variables which are recognized by
177 values reformatted for human consumption.
180 could not decode completely are
181 marked with a trailing
183 .It Ic debug Op Cm more Ns | Ns Cm less Ns | Ns Cm off
184 With no argument, displays the current debug level.
185 Otherwise, the debugging level is changed as indicated.
186 .It Ic delay Op Ar milliseconds
187 Specify a time interval to be added to timestamps included in
188 requests which require authentication.
189 This is used to enable
190 (unreliable) server reconfiguration over long delay network paths
191 or between machines whose clocks are unsynchronized.
193 server does not now require timestamps in authenticated requests,
194 so this command may be obsolete.
195 Without any arguments, displays the current delay.
196 .It Ic drefid Op Cm hash Ns | Ns Cm ipv4
197 Display refids as IPv4 or hash.
198 Without any arguments, displays whether refids are shown as IPv4
203 .It Ic host Op Ar name
204 Set the host to which future queries will be sent.
207 may be either a host name or a numeric address.
208 Without any arguments, displays the current host.
209 .It Ic hostnames Op Cm yes Ns | Ns Cm no
212 is specified, host names are printed in
213 information displays.
216 is specified, numeric
217 addresses are printed instead.
221 modified using the command line
224 Without any arguments, displays whether host names or numeric addresses
226 .It Ic keyid Op Ar keyid
227 This command allows the specification of a key number to be
228 used to authenticate configuration requests.
232 key number the server has been configured to use for this
234 Without any arguments, displays the current
236 .It Ic keytype Op Ar digest
237 Specify the digest algorithm to use for authenticating requests, with default
241 was built with OpenSSL support, and OpenSSL is installed,
243 can be any message digest algorithm supported by OpenSSL.
244 If no argument is given, the current
245 .Ic keytype Ar digest
246 algorithm used is displayed.
247 .It Ic ntpversion Op Cm 1 Ns | Ns Cm 2 Ns | Ns Cm 3 Ns | Ns Cm 4
248 Sets the NTP version number which
252 Defaults to 3, and note that mode 6 control messages (and
253 modes, for that matter) didn't exist in NTP version 1.
255 to be no servers left which demand version 1.
256 With no argument, displays the current NTP version that will be used
257 when communicating with servers.
259 This command prompts you to type in a password (which will not
260 be echoed) which will be used to authenticate configuration
262 The password must correspond to the key configured for
263 use by the NTP server for this purpose if such requests are to be
265 .It Ic poll Oo Ar n Oc Op Cm verbose
266 Poll an NTP server in client mode
269 Poll not implemented yet.
274 Causes all output from query commands is printed as received
275 from the remote server.
276 The only formating/interpretation done on
277 the data is to transform nonascii data into a printable (but barely
278 understandable) form.
279 .It Ic timeout Op Ar milliseconds
280 Specify a timeout period for responses to server queries.
282 default is about 5000 milliseconds.
283 Without any arguments, displays the current timeout period.
286 retries each query once after a timeout, the total waiting time for
287 a timeout will be twice the timeout value set.
289 Display the version of the
293 .Ss "Control Message Commands"
294 Association ids are used to identify system, peer and clock variables.
295 System variables are assigned an association id of zero and system name
296 space, while each association is assigned a nonzero association id and
298 Most control commands send a single message to the server and expect a
299 single response message.
300 The exceptions are the
302 command, which sends a series of messages,
307 commands, which iterate over a range of associations.
308 .Bl -tag -width "something" -compact -offset indent
310 Display a list of peers in the form:
311 .Dl [tally]remote refid assid st t when pool reach delay offset jitter
312 where the output is just like the
314 command except that the
316 is displayed in hex format and the association number is also displayed.
318 Display a list of mobilized associations in the form:
319 .Dl ind assid status conf reach auth condition last_event cnt
320 .Bl -column -offset indent ".Sy Variable" "see the select field of the peer status word"
321 .It Sy Variable Ta Sy Description
322 .It Cm ind Ta index on this list
323 .It Cm assid Ta association id
324 .It Cm status Ta peer status word
325 .It Cm conf Ta Cm yes : No persistent, Cm no : No ephemeral
326 .It Cm reach Ta Cm yes : No reachable, Cm no : No unreachable
327 .It Cm auth Ta Cm ok , Cm yes , Cm bad No and Cm none
328 .It Cm condition Ta selection status \&(see the Cm select No field of the peer status word\&)
329 .It Cm last_event Ta event report \&(see the Cm event No field of the peer status word\&)
330 .It Cm cnt Ta event count \&(see the Cm count No field of the peer status word\&)
333 Display the authentication statistics counters:
334 time since reset, stored keys, free keys, key lookups, keys not found,
335 uncached keys, expired keys, encryptions, decryptions.
336 .It Ic clocklist Op Ar associd
337 .It Ic cl Op Ar associd
338 Display all clock variables in the variable list for those associations
339 supporting a reference clock.
340 .It Ic clockvar Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
341 .It Ic cv Oo Ar associd Oc Oo Ar name Ns Oo \&= Ns Ar value Oc Ns Oc Ns Op ,...
342 Display a list of clock variables for those associations supporting a
344 .It Ic :config Ar "configuration command line"
345 Send the remainder of the command line, including whitespace, to the
346 server as a run\-time configuration command in the same format as a line
347 in the configuration file.
348 This command is experimental until further notice and clarification.
349 Authentication is of course required.
350 .It Ic config\-from\-file Ar filename
353 to the server as run\-time configuration commands in the same format as
354 lines in the configuration file.
355 This command is experimental until further notice and clarification.
356 Authentication is required.
358 Display status and statistics counters for each local network interface address:
359 interface number, interface name and address or broadcast, drop, flag,
360 ttl, mc, received, sent, send failed, peers, uptime.
361 Authentication is required.
363 Display network and reference clock I/O statistics:
364 time since reset, receive buffers, free receive buffers, used receive buffers,
365 low water refills, dropped packets, ignored packets, received packets,
366 packets sent, packet send failures, input wakeups, useful input wakeups.
368 Display kernel loop and PPS statistics:
369 associd, status, pll offset, pll frequency, maximum error,
370 estimated error, kernel status, pll time constant, precision,
371 frequency tolerance, pps frequency, pps stability, pps jitter,
372 calibration interval, calibration cycles, jitter exceeded,
373 stability exceeded, calibration errors.
374 As with other ntpq output, times are in milliseconds; very small values
375 may be shown as exponentials.
376 The precision value displayed is in milliseconds as well, unlike the
377 precision system variable.
379 Perform the same function as the associations command, except display
380 mobilized and unmobilized associations, including all clients.
381 .It Ic lopeers Op Fl 4 Ns | Ns Fl 6
382 Display a list of all peers and clients showing
384 (associated with the given IP version).
385 .It Ic lpassociations
386 Display the last obtained list of associations, including all clients.
387 .It Ic lpeers Op Fl 4 Ns | Ns Fl 6
388 Display a list of all peers and clients (associated with the given IP version).
390 Display monitor facility status, statistics, and limits:
391 enabled, addresses, peak addresses, maximum addresses,
392 reclaim above count, reclaim older than, kilobytes, maximum kilobytes.
393 .It Ic mreadlist Ar associdlo Ar associdhi
394 .It Ic mrl Ar associdlo Ar associdhi
395 Perform the same function as the
397 command for a range of association ids.
398 .It Ic mreadvar Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
399 This range may be determined from the list displayed by any
400 command showing associations.
401 .It Ic mrv Ar associdlo Ar associdhi Oo Ar name Oc Ns Op ,...
402 Perform the same function as the
404 command for a range of association ids.
405 This range may be determined from the list displayed by any
406 command showing associations.
407 .It Xo Ic mrulist Oo Cm limited | Cm kod | Cm mincount Ns \&= Ns Ar count |
408 .Cm laddr Ns \&= Ns Ar localaddr | Cm sort Ns \&= Ns Oo \&\- Oc Ns Ar sortorder |
409 .Cm resany Ns \&= Ns Ar hexmask | Cm resall Ns \&= Ns Ar hexmask Oc
411 Display traffic counts of the most recently seen source addresses
412 collected and maintained by the monitor facility.
413 With the exception of
414 .Cm sort Ns \&= Ns Oo \&\- Oc Ns Ar sortorder ,
415 the options filter the list returned by
421 options return only entries representing client addresses from which the
422 last packet received triggered either discarding or a KoD response.
424 .Cm mincount Ns = Ns Ar count
425 option filters entries representing less than
429 .Cm laddr Ns = Ns Ar localaddr
430 option filters entries for packets received on any local address other than
432 .Cm resany Ns = Ns Ar hexmask
434 .Cm resall Ns = Ns Ar hexmask
435 filter entries containing none or less than all, respectively, of the bits in
437 which must begin with
448 or any of those preceded by
450 to reverse the sort order.
451 The output columns are:
452 .Bl -tag -width "something" -compact -offset indent
456 Interval in seconds between the receipt of the most recent packet from
457 this address and the completion of the retrieval of the MRU list by
460 Average interval in s between packets from this address.
462 Restriction flags associated with this address.
463 Most are copied unchanged from the matching
465 command, however 0x400 (kod) and 0x20 (limited) flags are cleared unless
466 the last packet from this address triggered a rate control response.
468 Rate control indicator, either
473 for no rate control response,
474 rate limiting by discarding, or rate limiting with a KoD response, respectively.
478 Packet version number.
480 Packets received from this address.
482 Source port of last packet from this address.
483 .It Ic remote address
484 host or DNS name, numeric address, or address followed by
485 claimed DNS name which could not be verified in parentheses.
487 .It Ic opeers Op Fl 4 | Fl 6
488 Obtain and print the old\-style list of all peers and clients showing
490 (associated with the given IP version),
494 Perform the same function as the
497 except that it uses previously stored data rather than making a new query.
499 Display a list of peers in the form:
500 .Dl [tally]remote refid st t when pool reach delay offset jitter
501 .Bl -tag -width "something" -compact -offset indent
505 single\-character code indicating current value of the
508 .Lk decode.html#peer "peer status word"
510 host name (or IP number) of peer.
511 The value displayed will be truncated to 15 characters unless the
514 option is given, in which case the full value will be displayed
515 on the first line, and if too long,
516 the remaining data will be displayed on the next line.
519 .Lk decode.html#kiss "'kiss code"
521 stratum: 0 for local reference clocks, 1 for servers with local
522 reference clocks, ..., 16 for unsynchronized server clocks
525 unicast or manycast client,
527 broadcast or multicast client,
531 local (reference clock),
541 time in seconds, minutes, hours, or days since the last packet
544 if a packet has never been received
548 reach shift register (octal)
552 offset of server relative to this host
554 offset RMS error estimate.
556 .It Ic pstats Ar associd
557 Display the statistics for the peer with the given
559 associd, status, remote host, local address, time last received,
560 time until next send, reachability change, packets sent,
561 packets received, bad authentication, bogus origin, duplicate,
562 bad dispersion, bad reference time, candidate order.
563 .It Ic readlist Op Ar associd
564 .It Ic rl Op Ar associd
565 Display all system or peer variables.
568 is omitted, it is assumed to be zero.
569 .It Ic readvar Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
570 .It Ic rv Op Ar associd Ar name Ns Oo Ns = Ns Ar value Oc Op , ...
571 Display the specified system or peer variables.
574 is zero, the variables are from the
576 name space, otherwise they are from the
581 is required, as the same name can occur in both spaces.
584 is included, all operative variables in the name space are displayed.
585 In this case only, if the
587 is omitted, it is assumed to be zero.
588 Multiple names are specified with comma separators and without whitespace.
589 Note that time values are represented in milliseconds
590 and frequency values in parts\-per\-million (PPM).
591 Some NTP timestamps are represented in the format
592 .Ar YYYY Ns Ar MM Ar DD Ar TTTT ,
603 Display the access control (restrict) list for
605 Authentication is required.
606 .It Ic saveconfig Ar filename
607 Save the current configuration,
608 including any runtime modifications made by
611 .Ic config\-from\-file ,
612 to the NTP server host file
614 This command will be rejected by the server unless
615 .Lk miscopt.html#saveconfigdir "saveconfigdir"
622 format specifiers to substitute the current date and time, for
624 .D1 Ic saveconfig Pa ntp\-%Y%m%d\-%H%M%S.conf .
625 The filename used is stored in system variable
627 Authentication is required.
629 Display system operational summary:
630 associd, status, system peer, system peer mode, leap indicator,
631 stratum, log2 precision, root delay, root dispersion,
632 reference id, reference time, system jitter, clock jitter,
633 clock wander, broadcast delay, symm. auth. delay.
635 Display system uptime and packet counts maintained in the
637 uptime, sysstats reset, packets received, current version,
638 older version, bad length or format, authentication failed,
639 declined, restricted, rate limited, KoD responses,
642 Display interval timer counters:
643 time since reset, timer overruns, calls to transmit.
644 .It Ic writelist Ar associd
645 Set all system or peer variables included in the variable list.
646 .It Ic writevar Ar associd Ar name Ns = Ns Ar value Op , ...
647 Set the specified variables in the variable list.
650 is zero, the variables are from the
652 name space, otherwise they are from the
657 is required, as the same name can occur in both spaces.
658 Authentication is required.
660 .Ss Status Words and Kiss Codes
661 The current state of the operating program is shown
662 in a set of status words
663 maintained by the system.
664 Status information is also available on a per\-association basis.
665 These words are displayed by the
669 commands both in hexadecimal and in decoded short tip strings.
670 The codes, tips and short explanations are documented on the
671 .Lk decode.html "Event Messages and Status Words"
673 The page also includes a list of system and peer messages,
674 the code for the latest of which is included in the status word.
676 Information resulting from protocol machine state transitions
677 is displayed using an informal set of ASCII strings called
678 .Lk decode.html#kiss "kiss codes" .
679 The original purpose was for kiss\-o'\-death (KoD) packets
680 sent by the server to advise the client of an unusual condition.
681 They are now displayed, when appropriate,
682 in the reference identifier field in various billboards.
684 The following system variables appear in the
687 Not all variables are displayed in some configurations.
689 .Bl -tag -width "something" -compact -offset indent
693 .Lk decode.html#sys "system status word"
695 NTP software version and build time
697 hardware platform and version
699 operating system and version
701 leap warning indicator (0\-3)
707 total roundtrip delay to the primary reference clock
709 total dispersion to the primary reference clock
712 .Lk decode.html#kiss "kiss code"
718 system peer association id
720 time constant and poll exponent (log2 s) (3\-17)
722 minimum time constant (log2 s) (3\-10)
724 combined offset of server relative to this host
726 frequency drift (PPM) relative to hardware clock
728 combined system jitter
730 clock frequency wander (PPM)
736 NTP seconds when the next leap second is/was inserted
738 NTP seconds when the NIST leapseconds file expires
740 The jitter and wander statistics are exponentially\-weighted RMS averages.
741 The system jitter is defined in the NTPv4 specification;
742 the clock jitter statistic is computed by the clock discipline module.
744 When the NTPv4 daemon is compiled with the OpenSSL software library,
745 additional system variables are displayed,
746 including some or all of the following,
747 depending on the particular Autokey dance:
748 .Bl -tag -width "something" -compact -offset indent
752 Autokey host name for this host
754 Autokey group name for this host
756 host flags (see Autokey specification)
758 OpenSSL message digest algorithm
760 OpenSSL digest/signature scheme
762 NTP seconds at last signature update
764 certificate subject, issuer and certificate flags
766 NTP seconds when the certificate expires
769 The following peer variables appear in the
771 billboard for each association.
772 Not all variables are displayed in some configurations.
774 .Bl -tag -width "something" -compact -offset indent
780 .Lk decode.html#peer "peer status word"
782 source (remote) IP address
786 destination (local) IP address
788 destination (local) port
790 leap indicator (0\-3)
796 total roundtrip delay to the primary reference clock
798 total root dispersion to the primary reference clock
801 .Lk decode.html#kiss "kiss code"
805 last packet received time
807 reach register (octal)
815 host poll exponent (log2 s) (3\-17)
817 peer poll exponent (log2 s) (3\-17)
820 .Lk rate.html "Rate Management and the Kiss\-o'\-Death Packet" )
822 .Lk decode.html#flash "flash status word"
834 unicast/broadcast bias
836 interleave delay (see
837 .Lk xleave.html "NTP Interleaved Modes" )
841 variable is calculated when the first broadcast packet is received
842 after the calibration volley.
843 It represents the offset of the broadcast subgraph relative to the
847 variable appears only for the interleaved symmetric and interleaved modes.
848 It represents the internal queuing, buffering and transmission delays
849 for the preceding packet.
851 When the NTPv4 daemon is compiled with the OpenSSL software library,
852 additional peer variables are displayed, including the following:
853 .Bl -tag -width "something" -compact -offset indent
857 peer flags (see Autokey specification)
861 peer flags (see Autokey specification)
863 OpenSSL digest/signature scheme
869 Autokey signature timestamp
871 Autokey group name for this association
874 The following clock variables appear in the
876 billboard for each association with a reference clock.
877 Not all variables are displayed in some configurations.
878 .Bl -tag -width "something" -compact -offset indent
884 .Lk decode.html#clock "clock status word"
888 ASCII time code string (specific to device)
911 Force IPv4 name resolution.
912 This option must not appear in combination with any of the following options:
915 Force resolution of following host names on the command line
916 to the IPv4 namespace.
918 Force IPv6 name resolution.
919 This option must not appear in combination with any of the following options:
922 Force resolution of following host names on the command line
923 to the IPv6 namespace.
924 .It Fl c Ar cmd , Fl \-command Ns = Ns Ar cmd
925 run a command and exit.
926 This option may appear an unlimited number of times.
928 The following argument is interpreted as an interactive format command
929 and is added to the list of commands to be executed on the specified
931 .It Fl d , Fl \-debug\-level
932 Increase debug verbosity level.
933 This option may appear an unlimited number of times.
935 .It Fl D Ar number , Fl \-set\-debug\-level Ns = Ns Ar number
936 Set the debug verbosity level.
937 This option may appear an unlimited number of times.
938 This option takes an integer number as its argument.
940 .It Fl i , Fl \-interactive
941 Force ntpq to operate in interactive mode.
942 This option must not appear in combination with any of the following options:
945 Force \fBntpq\fP to operate in interactive mode.
946 Prompts will be written to the standard output and
947 commands read from the standard input.
948 .It Fl n , Fl \-numeric
949 numeric host addresses.
951 Output all host addresses in dotted\-quad numeric format rather than
952 converting to the canonical host names.
954 Always output status line with readvar.
956 By default, \fBntpq\fP now suppresses the \fBassocid=...\fP
957 line that precedes the output of \fBreadvar\fP
958 (alias \fBrv\fP) when a single variable is requested, such as
959 \fBntpq \-c "rv 0 offset"\fP.
960 This option causes \fBntpq\fP to include both lines of output
961 for a single\-variable \fBreadvar\fP.
962 Using an environment variable to
963 preset this option in a script will enable both older and
964 newer \fBntpq\fP to behave identically in this regard.
965 .It Fl p , Fl \-peers
966 Print a list of the peers.
967 This option must not appear in combination with any of the following options:
970 Print a list of the peers known to the server as well as a summary
971 of their state. This is equivalent to the 'peers' interactive command.
972 .It Fl r Ar keyword , Fl \-refid Ns = Ns Ar keyword
973 Set default display type for S2+ refids.
974 This option takes a keyword as its argument. The argument sets an enumeration value that can
975 be tested by comparing them against the option value macro.
976 The available keywords are:
982 or their numeric equivalent.
991 Set the default display format for S2+ refids.
993 Display the full 'remote' value.
995 Display the full value of the 'remote' value. If this requires
996 more than 15 characters, display the full value, emit a newline,
997 and continue the data display properly indented on the next line.
998 .It Fl \&? , Fl \-help
999 Display usage information and exit.
1000 .It Fl \&! , Fl \-more\-help
1001 Pass the extended usage information through a pager.
1002 .It Fl > Oo Ar cfgfile Oc , Fl \-save\-opts Oo Ns = Ns Ar cfgfile Oc
1003 Save the option state to \fIcfgfile\fP. The default is the \fIlast\fP
1004 configuration file listed in the \fBOPTION PRESETS\fP section, below.
1005 The command will exit after updating the config file.
1006 .It Fl < Ar cfgfile , Fl \-load\-opts Ns = Ns Ar cfgfile , Fl \-no\-load\-opts
1007 Load options from \fIcfgfile\fP.
1008 The \fIno\-load\-opts\fP form will disable the loading
1009 of earlier config/rc/ini files. \fI\-\-no\-load\-opts\fP is handled early,
1011 .It Fl \-version Op Brq Ar v|c|n
1012 Output version of program and exit. The default mode is `v', a simple
1013 version. The `c' mode will print copyright information and `n' will
1014 print the full copyright notice.
1016 .Sh "OPTION PRESETS"
1017 Any option that is not marked as \fInot presettable\fP may be preset
1018 by loading values from configuration ("RC" or ".INI") file(s) and values from
1019 environment variables named:
1021 \fBNTPQ_<option\-name>\fP or \fBNTPQ\fP
1024 The environmental presets take precedence (are processed later than)
1025 the configuration files.
1026 The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
1027 If any of these are directories, then the file \fI.ntprc\fP
1028 is searched for within those directories.
1030 See \fBOPTION PRESETS\fP for configuration environment variables.
1032 See \fBOPTION PRESETS\fP for configuration files.
1034 One of the following exit values will be returned:
1036 .It 0 " (EXIT_SUCCESS)"
1037 Successful program execution.
1038 .It 1 " (EXIT_FAILURE)"
1039 The operation failed or the command syntax was not valid.
1040 .It 66 " (EX_NOINPUT)"
1041 A specified configuration file could not be loaded.
1042 .It 70 " (EX_SOFTWARE)"
1043 libopts had an internal operational error. Please report
1044 it to autogen\-users@lists.sourceforge.net. Thank you.
1047 The University of Delaware and Network Time Foundation
1049 Copyright (C) 1992\-2020 The University of Delaware and Network Time Foundation all rights reserved.
1050 This program is released under the terms of the NTP license, <http://ntp.org/license>.
1052 Please send bug reports to: http://bugs.ntp.org, bugs@ntp.org
1054 This manual page was \fIAutoGen\fP\-erated from the \fBntpq\fP