1 @node ntpdsim Invocation
2 @section Invoking ntpdsim
4 @cindex NTP daemon simulation program
7 # EDIT THIS FILE WITH CAUTION (ntpdsim-opts.texi)
9 # It has been AutoGen-ed Tuesday December 8, 2009 at 08:13:15 AM EST
10 # From the definitions ntpdsim-opts.def
11 # and the template file aginfo.tpl
13 This program has no explanation.
17 This section was generated by @strong{AutoGen},
18 the aginfo template and the option descriptions for the @command{ntpdsim} program. It documents the ntpdsim usage text and option meanings.
20 This software is released under a specialized copyright license.
23 * ntpdsim usage:: ntpdsim usage help (-?)
24 * ntpdsim authnoreq:: authnoreq option (-A)
25 * ntpdsim authreq:: authreq option (-a)
26 * ntpdsim bcastsync:: bcastsync option (-b)
27 * ntpdsim configfile:: configfile option (-c)
28 * ntpdsim debug-level:: debug-level option (-d)
29 * ntpdsim driftfile:: driftfile option (-f)
30 * ntpdsim dvar:: dvar option (-V)
31 * ntpdsim endsimtime:: endsimtime option (-S)
32 * ntpdsim freqerr:: freqerr option (-T)
33 * ntpdsim interface:: interface option (-I)
34 * ntpdsim ipv4:: ipv4 option (-4)
35 * ntpdsim ipv6:: ipv6 option (-6)
36 * ntpdsim jaildir:: jaildir option (-i)
37 * ntpdsim keyfile:: keyfile option (-k)
38 * ntpdsim logfile:: logfile option (-l)
39 * ntpdsim modifymmtimer:: modifymmtimer option (-M)
40 * ntpdsim ndelay:: ndelay option (-Y)
41 * ntpdsim nice:: nice option (-N)
42 * ntpdsim nofork:: nofork option (-n)
43 * ntpdsim novirtualips:: novirtualips option (-L)
44 * ntpdsim panicgate:: panicgate option (-g)
45 * ntpdsim pdelay:: pdelay option (-Z)
46 * ntpdsim phasenoise:: phasenoise option (-C)
47 * ntpdsim pidfile:: pidfile option (-p)
48 * ntpdsim priority:: priority option (-P)
49 * ntpdsim propagationdelay:: propagationdelay option (-r)
50 * ntpdsim quit:: quit option (-q)
51 * ntpdsim servertime:: servertime option (-O)
52 * ntpdsim set-debug-level:: set-debug-level option (-D)
53 * ntpdsim simbroadcastdelay:: simbroadcastdelay option (-B)
54 * ntpdsim simslew:: simslew option (-H)
55 * ntpdsim slew:: slew option (-x)
56 * ntpdsim statsdir:: statsdir option (-s)
57 * ntpdsim trustedkey:: trustedkey option (-t)
58 * ntpdsim updateinterval:: updateinterval option (-U)
59 * ntpdsim user:: user option (-u)
60 * ntpdsim var:: var option (-v)
61 * ntpdsim walknoise:: walknoise option (-W)
65 @subsection ntpdsim usage help (-?)
68 This is the automatically generated usage text for ntpdsim:
72 ntpd - NTP daemon program - Ver. 4.2.5p247-RC
73 USAGE: ntpdsim [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
74 Flg Arg Option-Name Description
75 -4 no ipv4 Force IPv4 DNS name resolution
76 - prohibits these options:
78 -6 no ipv6 Force IPv6 DNS name resolution
79 - prohibits these options:
81 -a no authreq Require crypto authentication
82 - prohibits these options:
84 -A no authnoreq Do not require crypto authentication
85 - prohibits these options:
87 -b no bcastsync Allow us to sync to broadcast servers
88 -c Str configfile configuration file name
89 -d no debug-level Increase output debug message level
90 - may appear multiple times
91 -D Str set-debug-level Set the output debug message level
92 - may appear multiple times
93 -f Str driftfile frequency drift file name
94 -g no panicgate Allow the first adjustment to be Big
95 - may appear multiple times
96 -i --- jaildir built without --enable-clockctl or --enable-linuxcaps
97 -I Str interface Listen on an interface name or address
98 - may appear multiple times
99 -k Str keyfile path to symmetric keys
100 -l Str logfile path to the log file
101 -L no novirtualips Do not listen to virtual interfaces
102 -n no nofork Do not fork
103 -N no nice Run at high priority
104 -p Str pidfile path to the PID file
105 -P Num priority Process priority
106 -q no quit Set the time and quit
107 -r Str propagationdelay Broadcast/propagation delay
108 Str saveconfigquit Save parsed configuration and quit
109 -s Str statsdir Statistics file location
110 -t Str trustedkey Trusted key number
111 - may appear multiple times
112 -u --- user built without --enable-clockctl or --enable-linuxcaps
113 -U Num updateinterval interval in seconds between scans for new or dropped interfaces
114 Str var make ARG an ntp variable (RW)
115 - may appear multiple times
116 Str dvar make ARG an ntp variable (RW|DEF)
117 - may appear multiple times
118 -x no slew Slew up to 600 seconds
119 opt version Output version information and exit
120 -? no help Display extended usage information and exit
121 -! no more-help Extended usage information passed thru pager
123 Options are specified by doubled hyphens and their name
124 or by a single hyphen and the flag character.
126 The following option preset mechanisms are supported:
127 - examining environment variables named NTPD_*
131 please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
136 @subsection ipv4 option (-4)
139 This is the ``force ipv4 dns name resolution'' option.
141 This option has some usage constraints. It:
144 is a member of the ipv4 class of options.
147 Force DNS resolution of following host names on the command line
148 to the IPv4 namespace.
151 @subsection ipv6 option (-6)
154 This is the ``force ipv6 dns name resolution'' option.
156 This option has some usage constraints. It:
159 is a member of the ipv4 class of options.
162 Force DNS resolution of following host names on the command line
163 to the IPv6 namespace.
165 @node ntpdsim authreq
166 @subsection authreq option (-a)
167 @cindex ntpdsim-authreq
169 This is the ``require crypto authentication'' option.
171 This option has some usage constraints. It:
174 must not appear in combination with any of the following options:
178 Require cryptographic authentication for broadcast client,
179 multicast client and symmetric passive associations.
182 @node ntpdsim authnoreq
183 @subsection authnoreq option (-A)
184 @cindex ntpdsim-authnoreq
186 This is the ``do not require crypto authentication'' option.
188 This option has some usage constraints. It:
191 must not appear in combination with any of the following options:
195 Do not require cryptographic authentication for broadcast client,
196 multicast client and symmetric passive associations.
197 This is almost never a good idea.
199 @node ntpdsim bcastsync
200 @subsection bcastsync option (-b)
201 @cindex ntpdsim-bcastsync
203 This is the ``allow us to sync to broadcast servers'' option.
206 @node ntpdsim simbroadcastdelay
207 @subsection simbroadcastdelay option (-B)
208 @cindex ntpdsim-simbroadcastdelay
210 This is the ``simulator broadcast delay'' option.
213 @node ntpdsim configfile
214 @subsection configfile option (-c)
215 @cindex ntpdsim-configfile
217 This is the ``configuration file name'' option.
218 The name and path of the configuration file,
222 @node ntpdsim phasenoise
223 @subsection phasenoise option (-C)
224 @cindex ntpdsim-phasenoise
226 This is the ``phase noise level'' option.
229 @node ntpdsim debug-level
230 @subsection debug-level option (-d)
231 @cindex ntpdsim-debug-level
233 This is the ``increase output debug message level'' option.
235 This option has some usage constraints. It:
238 may appear an unlimited number of times.
240 must be compiled in by defining @code{DEBUG} during the compilation.
243 Increase the debugging message output level.
245 @node ntpdsim set-debug-level
246 @subsection set-debug-level option (-D)
247 @cindex ntpdsim-set-debug-level
249 This is the ``set the output debug message level'' option.
251 This option has some usage constraints. It:
254 may appear an unlimited number of times.
256 must be compiled in by defining @code{DEBUG} during the compilation.
259 Set the output debugging level. Can be supplied multiple times,
260 but each overrides the previous value(s).
262 @node ntpdsim driftfile
263 @subsection driftfile option (-f)
264 @cindex ntpdsim-driftfile
266 This is the ``frequency drift file name'' option.
267 The name and path of the frequency file,
270 This is the same operation as the
272 configuration specification in the
276 @node ntpdsim panicgate
277 @subsection panicgate option (-g)
278 @cindex ntpdsim-panicgate
280 This is the ``allow the first adjustment to be big'' option.
283 exits with a message to the system log if the offset exceeds the panic threshold, which is 1000 s by default. This option allows the time to be set to any value without restriction; however, this can happen only once. If the threshold is exceeded after that,
285 will exit with a message to the system log. This option can be used with the
292 configuration file directive for other options.
294 @node ntpdsim simslew
295 @subsection simslew option (-H)
296 @cindex ntpdsim-simslew
298 This is the ``simuator slew'' option.
301 @node ntpdsim jaildir
302 @subsection jaildir option (-i)
303 @cindex ntpdsim-jaildir
305 This is the ``jail directory'' option.
306 Chroot the server to the directory
309 This option also implies that the server attempts to drop root privileges at startup (otherwise, chroot gives very little additional security), and it is only available if the OS supports to run the server without full root privileges.
310 You may need to also specify a
314 @node ntpdsim interface
315 @subsection interface option (-I)
316 @cindex ntpdsim-interface
318 This is the ``listen on interface'' option.
320 This option has some usage constraints. It:
323 may appear an unlimited number of times.
328 @node ntpdsim keyfile
329 @subsection keyfile option (-k)
330 @cindex ntpdsim-keyfile
332 This is the ``path to symmetric keys'' option.
333 Specify the name and path of the symmetric key file.
336 This is the same operation as the
338 configuration file directive.
340 @node ntpdsim logfile
341 @subsection logfile option (-l)
342 @cindex ntpdsim-logfile
344 This is the ``path to the log file'' option.
345 Specify the name and path of the log file.
346 The default is the system log file.
347 This is the same operation as the
349 configuration file directive.
351 @node ntpdsim novirtualips
352 @subsection novirtualips option (-L)
353 @cindex ntpdsim-novirtualips
355 This is the ``do not listen to virtual ips'' option.
356 Do not listen to virtual IPs. The default is to listen.
358 @node ntpdsim modifymmtimer
359 @subsection modifymmtimer option (-M)
360 @cindex ntpdsim-modifymmtimer
362 This is the ``modify multimedia timer (windows only)'' option.
364 This option has some usage constraints. It:
367 must be compiled in by defining @code{SYS_WINNT} during the compilation.
370 Set the Windows Multimedia Timer to highest resolution.
373 @subsection nofork option (-n)
374 @cindex ntpdsim-nofork
376 This is the ``do not fork'' option.
380 @subsection nice option (-N)
383 This is the ``run at high priority'' option.
384 To the extent permitted by the operating system, run
386 at the highest priority.
388 @node ntpdsim servertime
389 @subsection servertime option (-O)
390 @cindex ntpdsim-servertime
392 This is the ``server time'' option.
395 @node ntpdsim pidfile
396 @subsection pidfile option (-p)
397 @cindex ntpdsim-pidfile
399 This is the ``path to the pid file'' option.
400 Specify the name and path of the file used to record
403 This is the same operation as the
405 configuration file directive.
407 @node ntpdsim priority
408 @subsection priority option (-P)
409 @cindex ntpdsim-priority
411 This is the ``process priority'' option.
412 To the extent permitted by the operating system, run
415 sched_setscheduler(SCHED_FIFO)
419 @subsection quit option (-q)
422 This is the ``set the time and quit'' option.
424 will exit just after the first time the clock is set. This behavior mimics that of the
426 program, which is to be retired.
431 options can be used with this option.
432 Note: The kernel time discipline is disabled with this option.
434 @node ntpdsim propagationdelay
435 @subsection propagationdelay option (-r)
436 @cindex ntpdsim-propagationdelay
438 This is the ``broadcast/propagation delay'' option.
439 Specify the default propagation delay from the broadcast/multicast server to this client. This is necessary only if the delay cannot be computed automatically by the protocol.
441 @node ntpdsim updateinterval
442 @subsection updateinterval option (-U)
443 @cindex ntpdsim-updateinterval
445 This is the ``interval in seconds between scans for new or dropped interfaces'' option.
446 Give the time in seconds between two scans for new or dropped interfaces.
447 For systems with routing socket support the scans will be performed shortly after the interface change
448 has been detected by the system.
449 Use 0 to disable scanning.
451 @node ntpdsim statsdir
452 @subsection statsdir option (-s)
453 @cindex ntpdsim-statsdir
455 This is the ``statistics file location'' option.
456 Specify the directory path for files created by the statistics facility.
457 This is the same operation as the
459 configuration file directive.
461 @node ntpdsim endsimtime
462 @subsection endsimtime option (-S)
463 @cindex ntpdsim-endsimtime
465 This is the ``simulation end time'' option.
468 @node ntpdsim trustedkey
469 @subsection trustedkey option (-t)
470 @cindex ntpdsim-trustedkey
472 This is the ``trusted key number'' option.
474 This option has some usage constraints. It:
477 may appear an unlimited number of times.
480 Add a key number to the trusted key list.
482 @node ntpdsim freqerr
483 @subsection freqerr option (-T)
484 @cindex ntpdsim-freqerr
486 This is the ``simulation frequency error'' option.
489 @node ntpdsim walknoise
490 @subsection walknoise option (-W)
491 @cindex ntpdsim-walknoise
493 This is the ``simulation random walk noise'' option.
497 @subsection user option (-u)
500 This is the ``run as userid (or userid:groupid)'' option.
501 Specify a user, and optionally a group, to switch to.
502 This option is only available if the OS supports to run the server without full root privileges.
503 Currently, this option is supported under NetBSD (configure with
505 ) and Linux (configure with
510 @subsection var option (-v)
513 This is the ``make arg an ntp variable (rw)'' option.
515 This option has some usage constraints. It:
518 may appear an unlimited number of times.
524 @subsection dvar option (-V)
527 This is the ``make arg an ntp variable (rw|def)'' option.
529 This option has some usage constraints. It:
532 may appear an unlimited number of times.
538 @subsection slew option (-x)
541 This is the ``slew up to 600 seconds'' option.
542 Normally, the time is slewed if the offset is less than the step threshold, which is 128 ms by default, and stepped if above the threshold.
543 This option sets the threshold to 600 s, which is well within the accuracy window to set the clock manually.
544 Note: Since the slew rate of typical Unix kernels is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s.
545 Thus, an adjustment as much as 600 s will take almost 14 days to complete.
546 This option can be used with the
553 configuration file directive for other options.
554 Note: The kernel time discipline is disabled with this option.
557 @subsection ndelay option (-Y)
558 @cindex ntpdsim-ndelay
560 This is the ``simulation network delay'' option.
564 @subsection pdelay option (-Z)
565 @cindex ntpdsim-pdelay
567 This is the ``simulation processing delay'' option.