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 Sunday August 17, 2008 at 05:26:27 AM EDT
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.5p113
62 USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
63 Flg Arg Option-Name Description
64 -4 no ipv4 Force IPv4 DNS name resolution
65 -6 no ipv6 Force IPv6 DNS name resolution
66 - an alternate for ipv4
67 -c Str command run a command and exit
68 - may appear multiple times
69 -l no listpeers Print a list of the peers
70 - prohibits these options:
72 -p no peers Print a list of the peers
73 - prohibits these options:
75 -s no showpeers Show a list of the peers
76 - prohibits these options:
78 -i no interactive Force ntpq to operate in interactive mode
79 - prohibits these options:
84 -d no debug-level Increase output debug message level
85 - may appear multiple times
86 -D Str set-debug-level Set the output debug message level
87 - may appear multiple times
88 -n no numeric numeric host addresses
89 opt version Output version information and exit
90 -? no help Display usage information and exit
91 -! no more-help Extended usage information passed thru pager
92 -> opt save-opts Save the option state to a config file
93 -< Str load-opts Load options from a config file
94 - disabled as --no-load-opts
95 - may appear multiple times
97 Options are specified by doubled hyphens and their name
98 or by a single hyphen and the flag character.
100 The following option preset mechanisms are supported:
101 - reading file /users/stenn/.ntprc
102 - reading file /deacon/backroom/snaps/ntp-stable/ntpdc/.ntprc
103 - examining environment variables named NTPDC_*
107 utility program is used to query an NTP daemon about its
108 current state and to request changes in that state.
109 It uses NTP mode 7 control message formats described in the source code.
111 be run either in interactive mode or controlled using command line
113 Extensive state and statistics information is available
117 In addition, nearly all the
118 configuration options which can be specified at startup using
119 ntpd's configuration file may also be specified at run time using
122 please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
127 @subsection ipv4 option (-4)
130 This is the ``force ipv4 dns name resolution'' option.
132 This option has some usage constraints. It:
135 is a member of the ipv4 class of options.
138 Force DNS resolution of following host names on the command line
139 to the IPv4 namespace.
142 @subsection ipv6 option (-6)
145 This is the ``force ipv6 dns name resolution'' option.
147 This option has some usage constraints. It:
150 is a member of the ipv4 class of options.
153 Force DNS resolution of following host names on the command line
154 to the IPv6 namespace.
157 @subsection command option (-c)
158 @cindex ntpdc-command
160 This is the ``run a command and exit'' option.
162 This option has some usage constraints. It:
165 may appear an unlimited number of times.
168 The following argument is interpreted as an interactive format command
169 and is added to the list of commands to be executed on the specified
172 @node ntpdc listpeers
173 @subsection listpeers option (-l)
174 @cindex ntpdc-listpeers
176 This is the ``print a list of the peers'' option.
178 This option has some usage constraints. It:
181 must not appear in combination with any of the following options:
185 Print a list of the peers known to the server as well as a summary of
186 their state. This is equivalent to the 'listpeers' interactive command.
189 @subsection peers option (-p)
192 This is the ``print a list of the peers'' option.
194 This option has some usage constraints. It:
197 must not appear in combination with any of the following options:
201 Print a list of the peers known to the server as well as a summary
202 of their state. This is equivalent to the 'peers' interactive command.
204 @node ntpdc showpeers
205 @subsection showpeers option (-s)
206 @cindex ntpdc-showpeers
208 This is the ``show a list of the peers'' option.
210 This option has some usage constraints. It:
213 must not appear in combination with any of the following options:
217 Print a list of the peers known to the server as well as a summary
218 of their state. This is equivalent to the 'dmpeers' interactive command.
220 @node ntpdc interactive
221 @subsection interactive option (-i)
222 @cindex ntpdc-interactive
224 This is the ``force ntpq to operate in interactive mode'' option.
226 This option has some usage constraints. It:
229 must not appear in combination with any of the following options:
230 command, listpeers, peers, showpeers.
233 Force ntpq to operate in interactive mode. Prompts will be written
234 to the standard output and commands read from the standard input.
236 @node ntpdc debug-level
237 @subsection debug-level option (-d)
238 @cindex ntpdc-debug-level
240 This is the ``increase output debug message level'' option.
242 This option has some usage constraints. It:
245 may appear an unlimited number of times.
247 must be compiled in by defining @code{DEBUG} during the compilation.
250 Increase the debugging message output level.
252 @node ntpdc set-debug-level
253 @subsection set-debug-level option (-D)
254 @cindex ntpdc-set-debug-level
256 This is the ``set the output debug message level'' option.
258 This option has some usage constraints. It:
261 may appear an unlimited number of times.
263 must be compiled in by defining @code{DEBUG} during the compilation.
266 Set the output debugging level. Can be supplied multiple times,
267 but each overrides the previous value(s).
270 @subsection numeric option (-n)
271 @cindex ntpdc-numeric
273 This is the ``numeric host addresses'' option.
274 Output all host addresses in dotted-quad numeric format rather than
275 converting to the canonical host names.