2 @section Invoking ntpdc
4 @cindex vendor-specific NTP query program
7 # EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
9 # It has been AutoGen-ed December 10, 2009 at 05:03:02 AM by AutoGen 5.10
10 # From the definitions ntpdc-opts.def
11 # and the template file aginfo.tpl
13 This program has no explanation.
17 utility program is used to query an NTP daemon about its
18 current state and to request changes in that state.
19 It uses NTP mode 7 control message formats described in the source code.
21 be run either in interactive mode or controlled using command line
23 Extensive state and statistics information is available
27 In addition, nearly all the
28 configuration options which can be specified at startup using
29 ntpd's configuration file may also be specified at run time using
34 This section was generated by @strong{AutoGen},
35 the aginfo template and the option descriptions for the @command{ntpdc} program. It documents the ntpdc usage text and option meanings.
37 This software is released under a specialized copyright license.
40 * ntpdc usage:: ntpdc usage help (-?)
41 * ntpdc command:: command option (-c)
42 * ntpdc debug-level:: debug-level option (-d)
43 * ntpdc interactive:: interactive option (-i)
44 * ntpdc ipv4:: ipv4 option (-4)
45 * ntpdc ipv6:: ipv6 option (-6)
46 * ntpdc listpeers:: listpeers option (-l)
47 * ntpdc numeric:: numeric option (-n)
48 * ntpdc peers:: peers option (-p)
49 * ntpdc set-debug-level:: set-debug-level option (-D)
50 * ntpdc showpeers:: showpeers option (-s)
54 @subsection ntpdc usage help (-?)
57 This is the automatically generated usage text for ntpdc:
61 ntpdc - vendor-specific NTP query program - Ver. 4.2.6
62 USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
63 Flg Arg Option-Name Description
64 -4 no ipv4 Force IPv4 DNS name resolution
65 - prohibits these options:
67 -6 no ipv6 Force IPv6 DNS name resolution
68 - prohibits these options:
70 -c Str command run a command and exit
71 - may appear multiple times
72 -l no listpeers Print a list of the peers
73 - prohibits these options:
75 -p no peers Print a list of the peers
76 - prohibits these options:
78 -s no showpeers Show a list of the peers
79 - prohibits these options:
81 -i no interactive Force ntpq to operate in interactive mode
82 - prohibits these options:
87 -d no debug-level Increase output debug message level
88 - may appear multiple times
89 -D Str set-debug-level Set the output debug message level
90 - may appear multiple times
91 -n no numeric numeric host addresses
92 opt version Output version information and exit
93 -? no help Display extended usage information and exit
94 -! no more-help Extended usage information passed thru pager
95 -> opt save-opts Save the option state to a config file
96 -< Str load-opts Load options from a config file
97 - disabled as --no-load-opts
98 - may appear multiple times
100 Options are specified by doubled hyphens and their name
101 or by a single hyphen and the flag character.
103 The following option preset mechanisms are supported:
104 - reading file /users/stenn/.ntprc
105 - reading file /deacon/backroom/snaps/ntp-stable/ntpdc/.ntprc
106 - examining environment variables named NTPDC_*
110 utility program is used to query an NTP daemon about its
111 current state and to request changes in that state.
112 It uses NTP mode 7 control message formats described in the source code.
114 be run either in interactive mode or controlled using command line
116 Extensive state and statistics information is available
120 In addition, nearly all the
121 configuration options which can be specified at startup using
122 ntpd's configuration file may also be specified at run time using
125 please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
130 @subsection ipv4 option (-4)
133 This is the ``force ipv4 dns name resolution'' option.
135 This option has some usage constraints. It:
138 must not appear in combination with any of the following options:
142 Force DNS resolution of following host names on the command line
143 to the IPv4 namespace.
146 @subsection ipv6 option (-6)
149 This is the ``force ipv6 dns name resolution'' option.
151 This option has some usage constraints. It:
154 must not appear in combination with any of the following options:
158 Force DNS resolution of following host names on the command line
159 to the IPv6 namespace.
162 @subsection command option (-c)
163 @cindex ntpdc-command
165 This is the ``run a command and exit'' option.
167 This option has some usage constraints. It:
170 may appear an unlimited number of times.
173 The following argument is interpreted as an interactive format command
174 and is added to the list of commands to be executed on the specified
177 @node ntpdc listpeers
178 @subsection listpeers option (-l)
179 @cindex ntpdc-listpeers
181 This is the ``print a list of the peers'' option.
183 This option has some usage constraints. It:
186 must not appear in combination with any of the following options:
190 Print a list of the peers known to the server as well as a summary of
191 their state. This is equivalent to the 'listpeers' interactive command.
194 @subsection peers option (-p)
197 This is the ``print a list of the peers'' option.
199 This option has some usage constraints. It:
202 must not appear in combination with any of the following options:
206 Print a list of the peers known to the server as well as a summary
207 of their state. This is equivalent to the 'peers' interactive command.
209 @node ntpdc showpeers
210 @subsection showpeers option (-s)
211 @cindex ntpdc-showpeers
213 This is the ``show a list of the peers'' option.
215 This option has some usage constraints. It:
218 must not appear in combination with any of the following options:
222 Print a list of the peers known to the server as well as a summary
223 of their state. This is equivalent to the 'dmpeers' interactive command.
225 @node ntpdc interactive
226 @subsection interactive option (-i)
227 @cindex ntpdc-interactive
229 This is the ``force ntpq to operate in interactive mode'' option.
231 This option has some usage constraints. It:
234 must not appear in combination with any of the following options:
235 command, listpeers, peers, showpeers.
238 Force ntpq to operate in interactive mode. Prompts will be written
239 to the standard output and commands read from the standard input.
241 @node ntpdc debug-level
242 @subsection debug-level option (-d)
243 @cindex ntpdc-debug-level
245 This is the ``increase output debug message level'' option.
247 This option has some usage constraints. It:
250 may appear an unlimited number of times.
253 Increase the debugging message output level.
255 @node ntpdc set-debug-level
256 @subsection set-debug-level option (-D)
257 @cindex ntpdc-set-debug-level
259 This is the ``set the output debug message level'' option.
261 This option has some usage constraints. It:
264 may appear an unlimited number of times.
267 Set the output debugging level. Can be supplied multiple times,
268 but each overrides the previous value(s).
271 @subsection numeric option (-n)
272 @cindex ntpdc-numeric
274 This is the ``numeric host addresses'' option.
275 Output all host addresses in dotted-quad numeric format rather than
276 converting to the canonical host names.