NAME
ntpdc - vendor-specific NTP query program
SYNOPSIS
ntpdc
[ host ...]
DESCRIPTION
This manual page documents, briefly, the nnttppddcc command.
The
[= prog-name =]
utility program is used to query an NTP daemon about its
current state and to request changes in that state.
It uses NTP mode 7 control message formats described in the source code.
The program may
be run either in interactive mode or controlled using command line
arguments.
Extensive state and statistics information is available
through the
[= prog-name =]
interface.
In addition, nearly all the
configuration options which can be specified at startup using
ntpd's configuration file may also be specified at run time using
[= prog-name =] .
OPTIONS
-
-4, --ipv4
-
Force IPv4 DNS name resolution.
This option is a member of the ipv4 class of options.
Force DNS resolution of following host names on the command line
to the IPv4 namespace.
-
-6, --ipv6
-
Force IPv6 DNS name resolution.
This option is a member of the ipv4 class of options.
Force DNS resolution of following host names on the command line
to the IPv6 namespace.
-
-c _c_m_d, --command=_c_m_d
-
run a command and exit.
This option may appear an unlimited number of times.
The following argument is interpreted as an interactive format command
and is added to the list of commands to be executed on the specified
host(s).
-
-l, --listpeers
-
Print a list of the peers.
This option must not appear in combination with any of the following options:
command.
Print a list of the peers known to the server as well as a summary of
their state. This is equivalent to the 'listpeers' interactive command.
-
-p, --peers
-
Print a list of the peers.
This option must not appear in combination with any of the following options:
command.
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'peers' interactive command.
-
-s, --showpeers
-
Show a list of the peers.
This option must not appear in combination with any of the following options:
command.
Print a list of the peers known to the server as well as a summary
of their state. This is equivalent to the 'dmpeers' interactive command.
-
-i, --interactive
-
Force ntpq to operate in interactive mode.
This option must not appear in combination with any of the following options:
command, listpeers, peers, showpeers.
Force ntpq to operate in interactive mode. Prompts will be written
to the standard output and commands read from the standard input.
-
-d, --debug-level
-
Increase output debug message level.
This option may appear an unlimited number of times.
Increase the debugging message output level.
-
-D _s_t_r_i_n_g, --set-debug-level=_s_t_r_i_n_g
-
Set the output debug message level.
This option may appear an unlimited number of times.
Set the output debugging level. Can be supplied multiple times,
but each overrides the previous value(s).
-
-n, --numeric
-
numeric host addresses.
Output all host addresses in dotted-quad numeric format rather than
converting to the canonical host names.
-
-?,--help
-
Display usage information and exit.
-
-!,--more-help
-
Extended usage information passed thru pager.
-
-> [_r_c_f_i_l_e], --save-opts[=_r_c_f_i_l_e]
-
Save the option state to _r_c_f_i_l_e. The default is the _l_a_s_t
configuration file listed in the OOPPTTIIOONN PPRREESSEETTSS section, below.
-
-< _r_c_f_i_l_e, --load-opts=_r_c_f_i_l_e,--no-load-opts
-
Load options from _r_c_f_i_l_e.
The _n_o_-_l_o_a_d_-_o_p_t_s form will disable the loading
of earlier RC/INI files. _-_-_n_o_-_l_o_a_d_-_o_p_t_s is handled early,
out of order.
-
-v [{_v_|_c_|_n}], --version[=_{_v_|_c_|_n_}]
-
Output version of program and exit. The default mode is `v', a simple
version. The `c' mode will print copyright information and `n' will
print the full copyright notice.
OPTION PRESETS
Any option that is not marked as _n_o_t _p_r_e_s_e_t_t_a_b_l_e may be preset
by loading values from configuration ("RC" or ".INI") file(s) and values from
environment variables named:
NNTTPPDDCC__<> or NNTTPPDDCC
The environmental presets take precedence (are processed later than)
the configuration files.
The _h_o_m_e_r_c files are "_$_H_O_M_E", and "_.".
If any of these are directories, then the file _._n_t_p_r_c
is searched for within those directories.
AUTHOR
David L. Mills and/or others
Please send bug reports to: http://bugs.ntp.isc.org, bugs@ntp.org
see /usr/share/doc/html/ntp/copyright.html
This manual page was _A_u_t_o_G_e_n-erated from the nnttppddcc
option definitions.