Lines Matching +full:slew +full:- +full:time +full:- +full:us
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
3 <!-- Created by GNU Texinfo 6.6, http://www.gnu.org/software/texinfo/ -->
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title>ntpd: Network Time Protocol (NTP) Daemon User’s Manual</title>
8 <meta name="description" content="ntpd: Network Time Protocol (NTP) Daemon User’s Manual">
9 <meta name="keywords" content="ntpd: Network Time Protocol (NTP) Daemon User’s Manual">
10 <meta name="resource-type" content="document">
16 <!--
17 a.summary-letter {text-decoration: none}
18 blockquote.indentedblock {margin-right: 0em}
19 div.display {margin-left: 3.2em}
20 div.example {margin-left: 3.2em}
21 div.lisp {margin-left: 3.2em}
22 kbd {font-style: oblique}
23 pre.display {font-family: inherit}
24 pre.format {font-family: inherit}
25 pre.menu-comment {font-family: serif}
26 pre.menu-preformatted {font-family: serif}
27 span.nolinebreak {white-space: nowrap}
28 span.roman {font-family: initial; font-weight: normal}
29 span.sansserif {font-family: sans-serif; font-weight: normal}
30 ul.no-bullet {list-style: none}
31 -->
38 <h1 class="settitle" align="center">ntpd: Network Time Protocol (NTP) Daemon User’s Manual</h1>
46 Next: <a href="#ntpd-Description" accesskey="n" rel="next">ntpd Description</a>, Previous: <a href="dir.html#Top" accesskey="p" rel="prev">(dir)</a>, Up: <a href="dir.html#Top" accesskey="u" rel="up">(dir)</a> </p>
48 <span id="ntpd_003a-Network-Time-Protocol-_0028NTP_0029-Daemon-User-Manual"></span><h1 class="top">ntpd: Network Time Protocol (NTP) Daemon User Manual</h1>
51 system clock to remote NTP time servers or local reference clocks.
52 It is a complete implementation of NTP version 4 defined by RFC-5905, but
53 also retains compatible with version 3 defined by RFC-1305 and versions
54 1 and 2, defined by RFC-1059 and RFC-1119, respectively.
56 symmetric and broadcast modes, and with both symmetric-key and public-key
62 <h2 class="shortcontents-heading">Short Table of Contents</h2>
65 <ul class="no-bullet">
66 <li><a id="stoc-Description" href="#toc-Description">1 Description</a></li>
72 <tr><td align="left" valign="top">• <a href="#ntpd-Description" accesskey="1">ntpd Description</a></td><td> </td><td align="left" valign="top">Description
74 <tr><td align="left" valign="top">• <a href="#ntpd-Invocation" accesskey="2">ntpd Invocation</a></td><td> </td><td align="left" valign="top">Invoking ntpd
81 <span id="ntpd-Description"></span><div class="header">
83 Next: <a href="#ntpd-Invocation" accesskey="n" rel="next">ntpd Invocation</a>, Up: <a href="#Top" accesskey="u" rel="up">Top</a> </p>
97 system time and frequency, but in some cases this might not be
99 With the <code>-q</code> option <code>ntpd</code> operates as in continuous mode, but
100 exits just after setting the clock for the first time.
104 groom the data and set the clock in about ten seconds’ time.
105 If nothing is heard after a few minutes’ time,
109 <tr><td align="left" valign="top">• <a href="#ntpd-Invocation" accesskey="1">Invoking ntpd</a></td><td> </td><td align="left" valign="top">
116 <span id="ntpd-Invocation"></span><div class="header">
118 Next: <a href="#Usage" accesskey="n" rel="next">Usage</a>, Previous: <a href="#ntpd-Description" accesskey="p" rel="prev">ntpd Description</a>, Up: <a href="#ntpd-Description" accesskey="u" rel="up">ntpd Description</a> </p>
120 <span id="Invoking-ntpd"></span><h3 class="section">1.1 Invoking ntpd</h3>
121 <span id="index-ntpd"></span>
122 <span id="index-NTP-daemon-program"></span>
129 and maintains the system time of day in synchronism with Internet
130 standard time servers.
132 Network Time Protocol (NTP) version 4, as defined by RFC-5905,
134 version 3, as defined by RFC-1305, and versions 1
135 and 2, as defined by RFC-1059 and RFC-1119, respectively.
139 utility does most computations in 64-bit floating point
140 arithmetic and does relatively clumsy 64-bit fixed point operations
151 configuration file at startup time in order to determine the
159 listening to broadcasts at run time.
170 <code>-c</code>
196 using the <code>agtexi-cmd</code> template and the option descriptions for the <code>ntpd</code> program.
200 <tr><td align="left" valign="top">• <a href="#ntpd-usage" accesskey="1">ntpd usage</a></td><td> </td><td align="left" valign="top">ntpd help/usage (<samp>--help</samp>)
202 <tr><td align="left" valign="top">• <a href="#ntpd-ipv4" accesskey="2">ntpd ipv4</a></td><td> </td><td align="left" valign="top">ipv4 option (-4)
204 <tr><td align="left" valign="top">• <a href="#ntpd-ipv6" accesskey="3">ntpd ipv6</a></td><td> </td><td align="left" valign="top">ipv6 option (-6)
206 <tr><td align="left" valign="top">• <a href="#ntpd-authreq" accesskey="4">ntpd authreq</a></td><td> </td><td align="left" valign="top">authreq option (-a)
208 <tr><td align="left" valign="top">• <a href="#ntpd-authnoreq" accesskey="5">ntpd authnoreq</a></td><td> </td><td align="left" valign="top">authnoreq option (-A)
210 <tr><td align="left" valign="top">• <a href="#ntpd-configfile" accesskey="6">ntpd configfile</a></td><td> </td><td align="left" valign="top">configfile option (-c)
212 <tr><td align="left" valign="top">• <a href="#ntpd-driftfile" accesskey="7">ntpd driftfile</a></td><td> </td><td align="left" valign="top">driftfile option (-f)
214 <tr><td align="left" valign="top">• <a href="#ntpd-panicgate" accesskey="8">ntpd panicgate</a></td><td> </td><td align="left" valign="top">panicgate option (-g)
216 <tr><td align="left" valign="top">• <a href="#ntpd-force_002dstep_002donce" accesskey="9">ntpd force-step-once</a></td><td> </td><td align="left" valign="top">force-step-once option (-G)
218 <tr><td align="left" valign="top">• <a href="#ntpd-jaildir">ntpd jaildir</a></td><td> </td><td align="left" valign="top">jaildir option (-i)
220 <tr><td align="left" valign="top">• <a href="#ntpd-interface">ntpd interface</a></td><td> </td><td align="left" valign="top">interface option (-I)
222 <tr><td align="left" valign="top">• <a href="#ntpd-keyfile">ntpd keyfile</a></td><td> </td><td align="left" valign="top">keyfile option (-k)
224 <tr><td align="left" valign="top">• <a href="#ntpd-logfile">ntpd logfile</a></td><td> </td><td align="left" valign="top">logfile option (-l)
226 <tr><td align="left" valign="top">• <a href="#ntpd-novirtualips">ntpd novirtualips</a></td><td> </td><td align="left" valign="top">novirtualips option (-L)
228 <tr><td align="left" valign="top">• <a href="#ntpd-modifymmtimer">ntpd modifymmtimer</a></td><td> </td><td align="left" valign="top">modifymmtimer option (-M)
230 <tr><td align="left" valign="top">• <a href="#ntpd-nice">ntpd nice</a></td><td> </td><td align="left" valign="top">nice option (-N)
232 <tr><td align="left" valign="top">• <a href="#ntpd-pidfile">ntpd pidfile</a></td><td> </td><td align="left" valign="top">pidfile option (-p)
234 <tr><td align="left" valign="top">• <a href="#ntpd-priority">ntpd priority</a></td><td> </td><td align="left" valign="top">priority option (-P)
236 <tr><td align="left" valign="top">• <a href="#ntpd-quit">ntpd quit</a></td><td> </td><td align="left" valign="top">quit option (-q)
238 <tr><td align="left" valign="top">• <a href="#ntpd-propagationdelay">ntpd propagationdelay</a></td><td> </td><td align="left" valign="top">propagationdelay option (-r)
240 <tr><td align="left" valign="top">• <a href="#ntpd-saveconfigquit">ntpd saveconfigquit</a></td><td> </td><td align="left" valign="top">saveconfigquit option
242 <tr><td align="left" valign="top">• <a href="#ntpd-statsdir">ntpd statsdir</a></td><td> </td><td align="left" valign="top">statsdir option (-s)
244 <tr><td align="left" valign="top">• <a href="#ntpd-trustedkey">ntpd trustedkey</a></td><td> </td><td align="left" valign="top">trustedkey option (-t)
246 <tr><td align="left" valign="top">• <a href="#ntpd-user">ntpd user</a></td><td> </td><td align="left" valign="top">user option (-u)
248 <tr><td align="left" valign="top">• <a href="#ntpd-updateinterval">ntpd updateinterval</a></td><td> </td><td align="left" valign="top">updateinterval option (-U)
250 <tr><td align="left" valign="top">• <a href="#ntpd-wait_002dsync">ntpd wait-sync</a></td><td> </td><td align="left" valign="top">wait-sync option (-w)
252 <tr><td align="left" valign="top">• <a href="#ntpd-slew">ntpd slew</a></td><td> </td><td align="left" valign="top">slew option (-x)
254 <tr><td align="left" valign="top">• <a href="#ntpd-usepcc">ntpd usepcc</a></td><td> </td><td align="left" valign="top">usepcc option
256 <tr><td align="left" valign="top">• <a href="#ntpd-pccfreq">ntpd pccfreq</a></td><td> </td><td align="left" valign="top">pccfreq option
258 <tr><td align="left" valign="top">• <a href="#ntpd-mdns">ntpd mdns</a></td><td> </td><td align="left" valign="top">mdns option (-m)
260 <tr><td align="left" valign="top">• <a href="#ntpd-config">ntpd config</a></td><td> </td><td align="left" valign="top">presetting/configuring ntpd
262 <tr><td align="left" valign="top">• <a href="#ntpd-exit-status">ntpd exit status</a></td><td> </td><td align="left" valign="top">exit status
264 <tr><td align="left" valign="top">• <a href="#ntpd-Usage">ntpd Usage</a></td><td> </td><td align="left" valign="top">Usage
266 <tr><td align="left" valign="top">• <a href="#ntpd-Files">ntpd Files</a></td><td> </td><td align="left" valign="top">Files
268 <tr><td align="left" valign="top">• <a href="#ntpd-See-Also">ntpd See Also</a></td><td> </td><td align="left" valign="top">See Also
270 <tr><td align="left" valign="top">• <a href="#ntpd-Bugs">ntpd Bugs</a></td><td> </td><td align="left" valign="top">Bugs
272 <tr><td align="left" valign="top">• <a href="#ntpd-Notes">ntpd Notes</a></td><td> </td><td align="left" valign="top">Notes
277 <span id="ntpd-usage"></span><div class="header">
279 Next: <a href="#ntpd-ipv4" accesskey="n" rel="next">ntpd ipv4</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
281 <span id="ntpd-help_002fusage-_0028_002d_002dhelp_0029"></span><h4 class="subsection">1.1.1 ntpd help/usage (<samp>--help</samp>)</h4>
282 <span id="index-ntpd-help"></span>
287 (<samp>--help</samp>) or the <code>more-help</code> option (<samp>--more-help</samp>). <code>more-help</code> will print
289 <code>more-help</code> is disabled on platforms without a working
295 <pre class="example">ntpd - NTP daemon program - Ver. 4.2.8p18
296 Usage: ntpd [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
298 Flg Arg Option-Name Description
299 -4 no ipv4 Force IPv4 DNS name resolution
300 - prohibits the option 'ipv6'
301 -6 no ipv6 Force IPv6 DNS name resolution
302 - prohibits the option 'ipv4'
303 -a no authreq Require crypto authentication
304 - prohibits the option 'authnoreq'
305 -A no authnoreq Do not require crypto authentication
306 - prohibits the option 'authreq'
307 -b no bcastsync Allow us to sync to broadcast servers
308 -c Str configfile configuration file name
309 -d no debug-level Increase debug verbosity level
310 - may appear multiple times
311 -D Num set-debug-level Set the debug verbosity level
312 - may appear multiple times
313 -f Str driftfile frequency drift file name
314 -g no panicgate Allow the first adjustment to be Big
315 - may appear multiple times
316 -G no force-step-once Step any initial offset correction.
317 -i --- jaildir built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs
318 -I Str interface Listen on an interface name or address
319 - may appear multiple times
320 -k Str keyfile path to symmetric keys
321 -l Str logfile path to the log file
322 -L no novirtualips Do not listen to virtual interfaces
323 -n no nofork Do not fork
324 - prohibits the option 'wait-sync'
325 -N no nice Run at high priority
326 -p Str pidfile path to the PID file
327 -P Num priority Process priority
328 -q no quit Set the time and quit
329 - prohibits these options:
331 wait-sync
332 -r Str propagationdelay Broadcast/propagation delay
334 - prohibits these options:
336 wait-sync
337 -s Str statsdir Statistics file location
338 -t Str trustedkey Trusted key number
339 - may appear multiple times
340 -u --- user built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs
341 -U Num updateinterval interval in seconds between scans for new or dropped interfaces
343 - may appear multiple times
345 - may appear multiple times
346 -w Num wait-sync Seconds to wait for first clock sync
347 - prohibits these options:
351 -x no slew Slew up to 600 seconds
353 -? no help display extended usage information and exit
354 -! no more-help extended usage information passed thru pager
361 - examining environment variables named NTPD_*
367 <span id="ntpd-ipv4"></span><div class="header">
369 Next: <a href="#ntpd-ipv6" accesskey="n" rel="next">ntpd ipv6</a>, Previous: <a href="#ntpd-usage" accesskey="p" rel="prev">ntpd usage</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
371 <span id="ipv4-option-_0028_002d4_0029"></span><h4 class="subsection">1.1.2 ipv4 option (-4)</h4>
372 <span id="index-ntpd_002dipv4"></span>
385 <span id="ntpd-ipv6"></span><div class="header">
387 Next: <a href="#ntpd-authreq" accesskey="n" rel="next">ntpd authreq</a>, Previous: <a href="#ntpd-ipv4" accesskey="p" rel="prev">ntpd ipv4</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
389 <span id="ipv6-option-_0028_002d6_0029"></span><h4 class="subsection">1.1.3 ipv6 option (-6)</h4>
390 <span id="index-ntpd_002dipv6"></span>
403 <span id="ntpd-authreq"></span><div class="header">
405 Next: <a href="#ntpd-authnoreq" accesskey="n" rel="next">ntpd authnoreq</a>, Previous: <a href="#ntpd-ipv6" accesskey="p" rel="prev">ntpd ipv6</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
407 <span id="authreq-option-_0028_002da_0029"></span><h4 class="subsection">1.1.4 authreq option (-a)</h4>
408 <span id="index-ntpd_002dauthreq"></span>
422 <span id="ntpd-authnoreq"></span><div class="header">
424 Next: <a href="#ntpd-configfile" accesskey="n" rel="next">ntpd configfile</a>, Previous: <a href="#ntpd-authreq" accesskey="p" rel="prev">ntpd authreq</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
426 <span id="authnoreq-option-_0028_002dA_0029"></span><h4 class="subsection">1.1.5 authnoreq option (-A)</h4>
427 <span id="index-ntpd_002dauthnoreq"></span>
441 <span id="ntpd-configfile"></span><div class="header">
443 Next: <a href="#ntpd-driftfile" accesskey="n" rel="next">ntpd driftfile</a>, Previous: <a href="#ntpd-authnoreq" accesskey="p" rel="prev">ntpd authnoreq</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
445 <span id="configfile-option-_0028_002dc_0029"></span><h4 class="subsection">1.1.6 configfile option (-c)</h4>
446 <span id="index-ntpd_002dconfigfile"></span>
454 <span id="ntpd-driftfile"></span><div class="header">
456 Next: <a href="#ntpd-panicgate" accesskey="n" rel="next">ntpd panicgate</a>, Previous: <a href="#ntpd-configfile" accesskey="p" rel="prev">ntpd configfile</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
458 <span id="driftfile-option-_0028_002df_0029"></span><h4 class="subsection">1.1.7 driftfile option (-f)</h4>
459 <span id="index-ntpd_002ddriftfile"></span>
472 <span id="ntpd-panicgate"></span><div class="header">
474 Next: <a href="#ntpd-force_002dstep_002donce" accesskey="n" rel="next">ntpd force-step-once</a>, Previous: <a href="#ntpd-driftfile" accesskey="p" rel="prev">ntpd driftfile</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
476 <span id="panicgate-option-_0028_002dg_0029"></span><h4 class="subsection">1.1.8 panicgate option (-g)</h4>
477 <span id="index-ntpd_002dpanicgate"></span>
488 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,
491 <code>-q</code>
493 <code>-x</code>
499 <span id="ntpd-force_002dstep_002donce"></span><div class="header">
501 Next: <a href="#ntpd-jaildir" accesskey="n" rel="next">ntpd jaildir</a>, Previous: <a href="#ntpd-panicgate" accesskey="p" rel="prev">ntpd panicgate</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
503 <span id="force_002dstep_002donce-option-_0028_002dG_0029"></span><h4 class="subsection">1.1.9 force-step-once option (-G)</h4>
504 <span id="index-ntpd_002dforce_002dstep_002donce"></span>
509 steps the time if the time offset exceeds the step threshold,
510 which is 128 ms by default, and otherwise slews the time.
512 so the highest time accuracy can be achieved quickly.
513 However, this may also cause the time to be stepped back
515 applications requiring monotonic time are running.
518 <span id="ntpd-jaildir"></span><div class="header">
520 Next: <a href="#ntpd-interface" accesskey="n" rel="next">ntpd interface</a>, Previous: <a href="#ntpd-force_002dstep_002donce" accesskey="p" rel="prev">ntpd force-step-once</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
522 <span id="jaildir-option-_0028_002di_0029"></span><h4 class="subsection">1.1.10 jaildir option (-i)</h4>
523 <span id="index-ntpd_002djaildir"></span>
538 <code>-u</code>
543 <code>--enable-clockctl</code>) or Linux (configure with
544 <code>--enable-linuxcaps</code>) or Solaris (configure with <code>--enable-solarisprivs</code>).
546 <span id="ntpd-interface"></span><div class="header">
548 Next: <a href="#ntpd-keyfile" accesskey="n" rel="next">ntpd keyfile</a>, Previous: <a href="#ntpd-jaildir" accesskey="p" rel="prev">ntpd jaildir</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
550 <span id="interface-option-_0028_002dI_0029"></span><h4 class="subsection">1.1.11 interface option (-I)</h4>
551 <span id="index-ntpd_002dinterface"></span>
567 <span id="ntpd-keyfile"></span><div class="header">
569 Next: <a href="#ntpd-logfile" accesskey="n" rel="next">ntpd logfile</a>, Previous: <a href="#ntpd-interface" accesskey="p" rel="prev">ntpd interface</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
571 <span id="keyfile-option-_0028_002dk_0029"></span><h4 class="subsection">1.1.12 keyfile option (-k)</h4>
572 <span id="index-ntpd_002dkeyfile"></span>
583 <span id="ntpd-logfile"></span><div class="header">
585 Next: <a href="#ntpd-novirtualips" accesskey="n" rel="next">ntpd novirtualips</a>, Previous: <a href="#ntpd-keyfile" accesskey="p" rel="prev">ntpd keyfile</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
587 <span id="logfile-option-_0028_002dl_0029"></span><h4 class="subsection">1.1.13 logfile option (-l)</h4>
588 <span id="index-ntpd_002dlogfile"></span>
598 <span id="ntpd-novirtualips"></span><div class="header">
600 Next: <a href="#ntpd-modifymmtimer" accesskey="n" rel="next">ntpd modifymmtimer</a>, Previous: <a href="#ntpd-logfile" accesskey="p" rel="prev">ntpd logfile</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
602 <span id="novirtualips-option-_0028_002dL_0029"></span><h4 class="subsection">1.1.14 novirtualips option (-L)</h4>
603 <span id="index-ntpd_002dnovirtualips"></span>
611 <span id="ntpd-modifymmtimer"></span><div class="header">
613 Next: <a href="#ntpd-nice" accesskey="n" rel="next">ntpd nice</a>, Previous: <a href="#ntpd-novirtualips" accesskey="p" rel="prev">ntpd novirtualips</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
615 <span id="modifymmtimer-option-_0028_002dM_0029"></span><h4 class="subsection">1.1.15 modifymmtimer option (-M)</h4>
616 <span id="index-ntpd_002dmodifymmtimer"></span>
629 <span id="ntpd-nice"></span><div class="header">
631 Next: <a href="#ntpd-pidfile" accesskey="n" rel="next">ntpd pidfile</a>, Previous: <a href="#ntpd-modifymmtimer" accesskey="p" rel="prev">ntpd modifymmtimer</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
633 <span id="nice-option-_0028_002dN_0029"></span><h4 class="subsection">1.1.16 nice option (-N)</h4>
634 <span id="index-ntpd_002dnice"></span>
641 <span id="ntpd-pidfile"></span><div class="header">
643 Next: <a href="#ntpd-priority" accesskey="n" rel="next">ntpd priority</a>, Previous: <a href="#ntpd-nice" accesskey="p" rel="prev">ntpd nice</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
645 <span id="pidfile-option-_0028_002dp_0029"></span><h4 class="subsection">1.1.17 pidfile option (-p)</h4>
646 <span id="index-ntpd_002dpidfile"></span>
657 <span id="ntpd-priority"></span><div class="header">
659 Next: <a href="#ntpd-quit" accesskey="n" rel="next">ntpd quit</a>, Previous: <a href="#ntpd-pidfile" accesskey="p" rel="prev">ntpd pidfile</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
661 <span id="priority-option-_0028_002dP_0029"></span><h4 class="subsection">1.1.18 priority option (-P)</h4>
662 <span id="index-ntpd_002dpriority"></span>
672 <span id="ntpd-quit"></span><div class="header">
674 Next: <a href="#ntpd-propagationdelay" accesskey="n" rel="next">ntpd propagationdelay</a>, Previous: <a href="#ntpd-priority" accesskey="p" rel="prev">ntpd priority</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
676 <span id="quit-option-_0028_002dq_0029"></span><h4 class="subsection">1.1.19 quit option (-q)</h4>
677 <span id="index-ntpd_002dquit"></span>
679 <p>This is the “set the time and quit” option.
684 saveconfigquit, wait-sync.
693 <code>-g</code>
695 <code>-x</code>
697 Note: The kernel time discipline is disabled with this option.
699 <span id="ntpd-propagationdelay"></span><div class="header">
701 Next: <a href="#ntpd-saveconfigquit" accesskey="n" rel="next">ntpd saveconfigquit</a>, Previous: <a href="#ntpd-quit" accesskey="p" rel="prev">ntpd quit</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
703 <span id="propagationdelay-option-_0028_002dr_0029"></span><h4 class="subsection">1.1.20 propagationdelay option (-r)</h4>
704 <span id="index-ntpd_002dpropagationdelay"></span>
710 <span id="ntpd-saveconfigquit"></span><div class="header">
712 Next: <a href="#ntpd-statsdir" accesskey="n" rel="next">ntpd statsdir</a>, Previous: <a href="#ntpd-propagationdelay" accesskey="p" rel="prev">ntpd propagationdelay</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
714 <span id="saveconfigquit-option"></span><h4 class="subsection">1.1.21 saveconfigquit option</h4>
715 <span id="index-ntpd_002dsaveconfigquit"></span>
724 quit, wait-sync.
731 <span id="ntpd-statsdir"></span><div class="header">
733 Next: <a href="#ntpd-trustedkey" accesskey="n" rel="next">ntpd trustedkey</a>, Previous: <a href="#ntpd-saveconfigquit" accesskey="p" rel="prev">ntpd saveconfigquit</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
735 <span id="statsdir-option-_0028_002ds_0029"></span><h4 class="subsection">1.1.22 statsdir option (-s)</h4>
736 <span id="index-ntpd_002dstatsdir"></span>
745 <span id="ntpd-trustedkey"></span><div class="header">
747 Next: <a href="#ntpd-user" accesskey="n" rel="next">ntpd user</a>, Previous: <a href="#ntpd-statsdir" accesskey="p" rel="prev">ntpd statsdir</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
749 <span id="trustedkey-option-_0028_002dt_0029"></span><h4 class="subsection">1.1.23 trustedkey option (-t)</h4>
750 <span id="index-ntpd_002dtrustedkey"></span>
762 <span id="ntpd-user"></span><div class="header">
764 Next: <a href="#ntpd-updateinterval" accesskey="n" rel="next">ntpd updateinterval</a>, Previous: <a href="#ntpd-trustedkey" accesskey="p" rel="prev">ntpd trustedkey</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
766 <span id="user-option-_0028_002du_0029"></span><h4 class="subsection">1.1.24 user option (-u)</h4>
767 <span id="index-ntpd_002duser"></span>
781 <code>--enable-clockctl</code>) or Linux (configure with
782 <code>--enable-linuxcaps</code>) or Solaris (configure with <code>--enable-solarisprivs</code>).
784 <span id="ntpd-updateinterval"></span><div class="header">
786 Next: <a href="#ntpd-wait_002dsync" accesskey="n" rel="next">ntpd wait-sync</a>, Previous: <a href="#ntpd-user" accesskey="p" rel="prev">ntpd user</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
788 <span id="updateinterval-option-_0028_002dU_0029"></span><h4 class="subsection">1.1.25 updateinterval option (-U)</h4>
789 <span id="index-ntpd_002dupdateinterval"></span>
793 Give the time in seconds between two scans for new or dropped interfaces.
796 Use 0 to disable scanning. 60 seconds is the minimum time between scans.
798 <span id="ntpd-wait_002dsync"></span><div class="header">
800 Next: <a href="#ntpd-slew" accesskey="n" rel="next">ntpd slew</a>, Previous: <a href="#ntpd-updateinterval" accesskey="p" rel="prev">ntpd updateinterval</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
802 <span id="wait_002dsync-option-_0028_002dw_0029"></span><h4 class="subsection">1.1.26 wait-sync option (-w)</h4>
803 <span id="index-ntpd_002dwait_002dsync"></span>
824 <span id="ntpd-slew"></span><div class="header">
826 Next: <a href="#ntpd-usepcc" accesskey="n" rel="next">ntpd usepcc</a>, Previous: <a href="#ntpd-wait_002dsync" accesskey="p" rel="prev">ntpd wait-sync</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
828 <span id="slew-option-_0028_002dx_0029"></span><h4 class="subsection">1.1.27 slew option (-x)</h4>
829 <span id="index-ntpd_002dslew"></span>
831 <p>This is the “slew up to 600 seconds” option.
832 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.
834 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.
837 <code>-g</code>
839 <code>-q</code>
844 Note: The kernel time discipline is disabled with this option.
846 <span id="ntpd-usepcc"></span><div class="header">
848 Next: <a href="#ntpd-pccfreq" accesskey="n" rel="next">ntpd pccfreq</a>, Previous: <a href="#ntpd-slew" accesskey="p" rel="prev">ntpd slew</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
850 <span id="usepcc-option"></span><h4 class="subsection">1.1.28 usepcc option</h4>
851 <span id="index-ntpd_002dusepcc"></span>
865 <span id="ntpd-pccfreq"></span><div class="header">
867 Next: <a href="#ntpd-mdns" accesskey="n" rel="next">ntpd mdns</a>, Previous: <a href="#ntpd-usepcc" accesskey="p" rel="prev">ntpd usepcc</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
869 <span id="pccfreq-option"></span><h4 class="subsection">1.1.29 pccfreq option</h4>
870 <span id="index-ntpd_002dpccfreq"></span>
884 <span id="ntpd-mdns"></span><div class="header">
886 Next: <a href="#ntpd-config" accesskey="n" rel="next">ntpd config</a>, Previous: <a href="#ntpd-pccfreq" accesskey="p" rel="prev">ntpd pccfreq</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
888 <span id="mdns-option-_0028_002dm_0029"></span><h4 class="subsection">1.1.30 mdns option (-m)</h4>
889 <span id="index-ntpd_002dmdns"></span>
903 <span id="ntpd-config"></span><div class="header">
905 Next: <a href="#ntpd-exit-status" accesskey="n" rel="next">ntpd exit status</a>, Previous: <a href="#ntpd-mdns" accesskey="p" rel="prev">ntpd mdns</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
907 <span id="presetting_002fconfiguring-ntpd"></span><h4 class="subsection">1.1.31 presetting/configuring ntpd</h4>
919 <span id="version-_0028_002d_0029"></span><h4 class="subsubheading">version (-)</h4>
939 <span id="ntpd-exit-status"></span><div class="header">
941 Next: <a href="#ntpd-Usage" accesskey="n" rel="next">ntpd Usage</a>, Previous: <a href="#ntpd-config" accesskey="p" rel="prev">ntpd config</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
943 <span id="ntpd-exit-status-1"></span><h4 class="subsection">1.1.32 ntpd exit status</h4>
955 <span id="ntpd-Usage"></span><div class="header">
957 Next: <a href="#ntpd-Files" accesskey="n" rel="next">ntpd Files</a>, Previous: <a href="#ntpd-exit-status" accesskey="p" rel="prev">ntpd exit status</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
959 <span id="ntpd-Usage-1"></span><h4 class="subsection">1.1.33 ntpd Usage</h4>
961 <span id="ntpd-Files"></span><div class="header">
963 Next: <a href="#ntpd-See-Also" accesskey="n" rel="next">ntpd See Also</a>, Previous: <a href="#ntpd-Usage" accesskey="p" rel="prev">ntpd Usage</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
965 <span id="ntpd-Files-1"></span><h4 class="subsection">1.1.34 ntpd Files</h4>
967 <span id="ntpd-See-Also"></span><div class="header">
969 Next: <a href="#ntpd-Bugs" accesskey="n" rel="next">ntpd Bugs</a>, Previous: <a href="#ntpd-Files" accesskey="p" rel="prev">ntpd Files</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
971 <span id="ntpd-See-Also-1"></span><h4 class="subsection">1.1.35 ntpd See Also</h4>
973 <span id="ntpd-Bugs"></span><div class="header">
975 Next: <a href="#ntpd-Notes" accesskey="n" rel="next">ntpd Notes</a>, Previous: <a href="#ntpd-See-Also" accesskey="p" rel="prev">ntpd See Also</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
977 <span id="ntpd-Bugs-1"></span><h4 class="subsection">1.1.36 ntpd Bugs</h4>
979 <span id="ntpd-Notes"></span><div class="header">
981 Previous: <a href="#ntpd-Bugs" accesskey="p" rel="prev">ntpd Bugs</a>, Up: <a href="#ntpd-Invocation" accesskey="u" rel="up">ntpd Invocation</a> </p>
983 <span id="ntpd-Notes-1"></span><h4 class="subsection">1.1.37 ntpd Notes</h4>
988 Previous: <a href="#ntpd-Invocation" accesskey="p" rel="prev">ntpd Invocation</a>, Up: <a href="#ntpd-Description" accesskey="u" rel="up">ntpd Description</a> </p>
990 <span id="Usage-1"></span><h3 class="section">1.2 Usage</h3>
994 <tr><td width="23%">configuration file</td><td width="23%"><code>/etc/ntp.conf</code></td><td width="5%"><code>-c</code></td><td width="15%"><code>conffile</code></td></tr>
995 <tr><td width="23%">frequency file</td><td width="23%">none</td><td width="5%"><code>-f</code></td><td width="15%"><code>driftfile</code></td></tr>
997 <tr><td width="23%">process ID file</td><td width="23%">none</td><td width="5%"><code>-p</code></td><td width="15%"><code>pidfile</code></td></tr>
998 <tr><td width="23%">log file</td><td width="23%">system log</td><td width="5%"><code>-l</code></td><td width="15%"><code>logfile</code></td></tr>
1000 <tr><td width="23%">statistics path</td><td width="23%"><code>/var/NTP</code></td><td width="5%"><code>-s</code></td><td width="15%"><code>statsdir</code></td></tr>
1001 <tr><td width="23%">keys path</td><td width="23%"><code>/usr/local/etc</code></td><td width="5%"><code>-k</code></td><td width="15%"><code>keysdir</code></td></tr>