ntpd.1ntpdman revision 1.1.1.13 1 1.1 christos .de1 NOP
2 1.1 christos . it 1 an-trap
3 1.1 christos . if \\n[.$] \,\\$*\/
4 1.1 christos ..
5 1.1 christos .ie t \
6 1.1 christos .ds B-Font [CB]
7 1.1 christos .ds I-Font [CI]
8 1.1 christos .ds R-Font [CR]
9 1.1 christos .el \
10 1.1 christos .ds B-Font B
11 1.1 christos .ds I-Font I
12 1.1 christos .ds R-Font R
13 1.1.1.13 christos .TH ntpd 1ntpdman "03 Mar 2020" "4.2.8p14" "User Commands"
14 1.1 christos .\"
15 1.1.1.13 christos .\" EDIT THIS FILE WITH CAUTION (in-mem file)
16 1.1 christos .\"
17 1.1.1.13 christos .\" It has been AutoGen-ed March 3, 2020 at 05:41:05 PM by AutoGen 5.18.5
18 1.1 christos .\" From the definitions ntpd-opts.def
19 1.1 christos .\" and the template file agman-cmd.tpl
20 1.1 christos .SH NAME
21 1.1 christos \f\*[B-Font]ntpd\fP
22 1.1 christos \- NTP daemon program
23 1.1 christos .SH SYNOPSIS
24 1.1 christos \f\*[B-Font]ntpd\fP
25 1.1 christos .\" Mixture of short (flag) options and long options
26 1.1 christos [\f\*[B-Font]\-flags\f[]]
27 1.1 christos [\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
28 1.1 christos [\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
29 1.1 christos [ <server1> ... <serverN> ]
30 1.1 christos .sp \n(Ppu
31 1.1 christos .ne 2
32 1.1 christos
33 1.1 christos .SH DESCRIPTION
34 1.1 christos The
35 1.1 christos \f\*[B-Font]ntpd\fP
36 1.1 christos utility is an operating system daemon which sets
37 1.1 christos and maintains the system time of day in synchronism with Internet
38 1.1 christos standard time servers.
39 1.1 christos It is a complete implementation of the
40 1.1 christos Network Time Protocol (NTP) version 4, as defined by RFC-5905,
41 1.1 christos but also retains compatibility with
42 1.1 christos version 3, as defined by RFC-1305, and versions 1
43 1.1 christos and 2, as defined by RFC-1059 and RFC-1119, respectively.
44 1.1 christos .sp \n(Ppu
45 1.1 christos .ne 2
46 1.1 christos
47 1.1 christos The
48 1.1 christos \f\*[B-Font]ntpd\fP
49 1.1 christos utility does most computations in 64-bit floating point
50 1.1 christos arithmetic and does relatively clumsy 64-bit fixed point operations
51 1.1 christos only when necessary to preserve the ultimate precision, about 232
52 1.1 christos picoseconds.
53 1.1 christos While the ultimate precision is not achievable with
54 1.1 christos ordinary workstations and networks of today, it may be required
55 1.1 christos with future gigahertz CPU clocks and gigabit LANs.
56 1.1 christos .sp \n(Ppu
57 1.1 christos .ne 2
58 1.1 christos
59 1.1 christos Ordinarily,
60 1.1 christos \f\*[B-Font]ntpd\fP
61 1.1 christos reads the
62 1.1.1.4 christos \fCntp.conf\f[]\fR(5)\f[]
63 1.1 christos configuration file at startup time in order to determine the
64 1.1 christos synchronization sources and operating modes.
65 1.1 christos It is also possible to
66 1.1 christos specify a working, although limited, configuration entirely on the
67 1.1 christos command line, obviating the need for a configuration file.
68 1.1 christos This may
69 1.1 christos be particularly useful when the local host is to be configured as a
70 1.1 christos broadcast/multicast client, with all peers being determined by
71 1.1 christos listening to broadcasts at run time.
72 1.1 christos .sp \n(Ppu
73 1.1 christos .ne 2
74 1.1 christos
75 1.1 christos If NetInfo support is built into
76 1.1 christos \f\*[B-Font]ntpd\fP,
77 1.1 christos then
78 1.1 christos \f\*[B-Font]ntpd\fP
79 1.1 christos will attempt to read its configuration from the
80 1.1 christos NetInfo if the default
81 1.1.1.4 christos \fCntp.conf\f[]\fR(5)\f[]
82 1.1 christos file cannot be read and no file is
83 1.1 christos specified by the
84 1.1 christos \f\*[B-Font]\-c\f[]
85 1.1 christos option.
86 1.1 christos .sp \n(Ppu
87 1.1 christos .ne 2
88 1.1 christos
89 1.1 christos Various internal
90 1.1 christos \f\*[B-Font]ntpd\fP
91 1.1 christos variables can be displayed and
92 1.1 christos configuration options altered while the
93 1.1 christos \f\*[B-Font]ntpd\fP
94 1.1 christos is running
95 1.1 christos using the
96 1.1.1.4 christos \fCntpq\f[]\fR(1ntpqmdoc)\f[]
97 1.1 christos and
98 1.1.1.4 christos \fCntpdc\f[]\fR(1ntpdcmdoc)\f[]
99 1.1 christos utility programs.
100 1.1 christos .sp \n(Ppu
101 1.1 christos .ne 2
102 1.1 christos
103 1.1 christos When
104 1.1 christos \f\*[B-Font]ntpd\fP
105 1.1 christos starts it looks at the value of
106 1.1.1.4 christos \fCumask\f[]\fR(2)\f[],
107 1.1 christos and if zero
108 1.1 christos \f\*[B-Font]ntpd\fP
109 1.1 christos will set the
110 1.1.1.4 christos \fCumask\f[]\fR(2)\f[]
111 1.1 christos to 022.
112 1.1 christos .SH "OPTIONS"
113 1.1 christos .TP
114 1.1 christos .NOP \f\*[B-Font]\-4\f[], \f\*[B-Font]\-\-ipv4\f[]
115 1.1 christos Force IPv4 DNS name resolution.
116 1.1 christos This option must not appear in combination with any of the following options:
117 1.1 christos ipv6.
118 1.1 christos .sp
119 1.1 christos Force DNS resolution of following host names on the command line
120 1.1 christos to the IPv4 namespace.
121 1.1 christos .TP
122 1.1 christos .NOP \f\*[B-Font]\-6\f[], \f\*[B-Font]\-\-ipv6\f[]
123 1.1 christos Force IPv6 DNS name resolution.
124 1.1 christos This option must not appear in combination with any of the following options:
125 1.1 christos ipv4.
126 1.1 christos .sp
127 1.1 christos Force DNS resolution of following host names on the command line
128 1.1 christos to the IPv6 namespace.
129 1.1 christos .TP
130 1.1 christos .NOP \f\*[B-Font]\-a\f[], \f\*[B-Font]\-\-authreq\f[]
131 1.1 christos Require crypto authentication.
132 1.1 christos This option must not appear in combination with any of the following options:
133 1.1 christos authnoreq.
134 1.1 christos .sp
135 1.1 christos Require cryptographic authentication for broadcast client,
136 1.1 christos multicast client and symmetric passive associations.
137 1.1 christos This is the default.
138 1.1 christos .TP
139 1.1 christos .NOP \f\*[B-Font]\-A\f[], \f\*[B-Font]\-\-authnoreq\f[]
140 1.1 christos Do not require crypto authentication.
141 1.1 christos This option must not appear in combination with any of the following options:
142 1.1 christos authreq.
143 1.1 christos .sp
144 1.1 christos Do not require cryptographic authentication for broadcast client,
145 1.1 christos multicast client and symmetric passive associations.
146 1.1 christos This is almost never a good idea.
147 1.1 christos .TP
148 1.1 christos .NOP \f\*[B-Font]\-b\f[], \f\*[B-Font]\-\-bcastsync\f[]
149 1.1 christos Allow us to sync to broadcast servers.
150 1.1 christos .sp
151 1.1 christos .TP
152 1.1 christos .NOP \f\*[B-Font]\-c\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-configfile\f[]=\f\*[I-Font]string\f[]
153 1.1 christos configuration file name.
154 1.1 christos .sp
155 1.1 christos The name and path of the configuration file,
156 1.1 christos \fI/etc/ntp.conf\fP
157 1.1 christos by default.
158 1.1 christos .TP
159 1.1 christos .NOP \f\*[B-Font]\-d\f[], \f\*[B-Font]\-\-debug\-level\f[]
160 1.1 christos Increase debug verbosity level.
161 1.1 christos This option may appear an unlimited number of times.
162 1.1 christos .sp
163 1.1 christos .TP
164 1.1 christos .NOP \f\*[B-Font]\-D\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-set\-debug\-level\f[]=\f\*[I-Font]number\f[]
165 1.1 christos Set the debug verbosity level.
166 1.1 christos This option may appear an unlimited number of times.
167 1.1 christos This option takes an integer number as its argument.
168 1.1 christos .sp
169 1.1 christos .TP
170 1.1 christos .NOP \f\*[B-Font]\-f\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-driftfile\f[]=\f\*[I-Font]string\f[]
171 1.1 christos frequency drift file name.
172 1.1 christos .sp
173 1.1 christos The name and path of the frequency file,
174 1.1 christos \fI/etc/ntp.drift\fP
175 1.1 christos by default.
176 1.1 christos This is the same operation as the
177 1.1 christos \fBdriftfile\fP \fIdriftfile\fP
178 1.1.1.3 christos configuration specification in the
179 1.1 christos \fI/etc/ntp.conf\fP
180 1.1 christos file.
181 1.1 christos .TP
182 1.1 christos .NOP \f\*[B-Font]\-g\f[], \f\*[B-Font]\-\-panicgate\f[]
183 1.1 christos Allow the first adjustment to be Big.
184 1.1 christos This option may appear an unlimited number of times.
185 1.1 christos .sp
186 1.1 christos Normally,
187 1.1 christos \fBntpd\fP
188 1.1 christos 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,
189 1.1 christos \fBntpd\fP
190 1.1 christos will exit with a message to the system log. This option can be used with the
191 1.1 christos \fB-q\fP
192 1.1 christos and
193 1.1 christos \fB-x\fP
194 1.1 christos options.
195 1.1 christos See the
196 1.1 christos \fBtinker\fP
197 1.1 christos configuration file directive for other options.
198 1.1 christos .TP
199 1.1.1.3 christos .NOP \f\*[B-Font]\-G\f[], \f\*[B-Font]\-\-force\-step\-once\f[]
200 1.1.1.3 christos Step any initial offset correction..
201 1.1.1.3 christos .sp
202 1.1.1.3 christos Normally,
203 1.1.1.3 christos \fBntpd\fP
204 1.1.1.3 christos steps the time if the time offset exceeds the step threshold,
205 1.1.1.3 christos which is 128 ms by default, and otherwise slews the time.
206 1.1.1.3 christos This option forces the initial offset correction to be stepped,
207 1.1.1.3 christos so the highest time accuracy can be achieved quickly.
208 1.1.1.3 christos However, this may also cause the time to be stepped back
209 1.1.1.3 christos so this option must not be used if
210 1.1.1.3 christos applications requiring monotonic time are running.
211 1.1.1.3 christos See the \fBtinker\fP configuration file directive for other options.
212 1.1.1.3 christos .TP
213 1.1 christos .NOP \f\*[B-Font]\-i\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-jaildir\f[]=\f\*[I-Font]string\f[]
214 1.1 christos Jail directory.
215 1.1 christos .sp
216 1.1 christos Chroot the server to the directory
217 1.1 christos \fIjaildir\fP
218 1.1 christos .
219 1.1 christos This option also implies that the server attempts to drop root privileges at startup.
220 1.1 christos You may need to also specify a
221 1.1 christos \fB-u\fP
222 1.1 christos option.
223 1.1 christos This option is only available if the OS supports adjusting the clock
224 1.1 christos without full root privileges.
225 1.1 christos This option is supported under NetBSD (configure with
226 1.1 christos \fB--enable-clockctl\fP) or Linux (configure with
227 1.1 christos \fB--enable-linuxcaps\fP) or Solaris (configure with \fB--enable-solarisprivs\fP).
228 1.1 christos .TP
229 1.1 christos .NOP \f\*[B-Font]\-I\f[] \f\*[I-Font]iface\f[], \f\*[B-Font]\-\-interface\f[]=\f\*[I-Font]iface\f[]
230 1.1 christos Listen on an interface name or address.
231 1.1 christos This option may appear an unlimited number of times.
232 1.1 christos .sp
233 1.1 christos Open the network address given, or all the addresses associated with the
234 1.1 christos given interface name. This option may appear multiple times. This option
235 1.1 christos also implies not opening other addresses, except wildcard and localhost.
236 1.1 christos This option is deprecated. Please consider using the configuration file
237 1.1.1.3 christos \fBinterface\fP command, which is more versatile.
238 1.1 christos .TP
239 1.1 christos .NOP \f\*[B-Font]\-k\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-keyfile\f[]=\f\*[I-Font]string\f[]
240 1.1 christos path to symmetric keys.
241 1.1 christos .sp
242 1.1 christos Specify the name and path of the symmetric key file.
243 1.1 christos \fI/etc/ntp.keys\fP
244 1.1 christos is the default.
245 1.1 christos This is the same operation as the
246 1.1 christos \fBkeys\fP \fIkeyfile\fP
247 1.1 christos configuration file directive.
248 1.1 christos .TP
249 1.1 christos .NOP \f\*[B-Font]\-l\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-logfile\f[]=\f\*[I-Font]string\f[]
250 1.1 christos path to the log file.
251 1.1 christos .sp
252 1.1 christos Specify the name and path of the log file.
253 1.1 christos The default is the system log file.
254 1.1 christos This is the same operation as the
255 1.1 christos \fBlogfile\fP \fIlogfile\fP
256 1.1 christos configuration file directive.
257 1.1 christos .TP
258 1.1 christos .NOP \f\*[B-Font]\-L\f[], \f\*[B-Font]\-\-novirtualips\f[]
259 1.1 christos Do not listen to virtual interfaces.
260 1.1 christos .sp
261 1.1 christos Do not listen to virtual interfaces, defined as those with
262 1.1 christos names containing a colon. This option is deprecated. Please
263 1.1 christos consider using the configuration file \fBinterface\fP command, which
264 1.1 christos is more versatile.
265 1.1 christos .TP
266 1.1 christos .NOP \f\*[B-Font]\-M\f[], \f\*[B-Font]\-\-modifymmtimer\f[]
267 1.1 christos Modify Multimedia Timer (Windows only).
268 1.1 christos .sp
269 1.1 christos Set the Windows Multimedia Timer to highest resolution. This
270 1.1 christos ensures the resolution does not change while ntpd is running,
271 1.1 christos avoiding timekeeping glitches associated with changes.
272 1.1 christos .TP
273 1.1 christos .NOP \f\*[B-Font]\-n\f[], \f\*[B-Font]\-\-nofork\f[]
274 1.1 christos Do not fork.
275 1.1 christos This option must not appear in combination with any of the following options:
276 1.1 christos wait-sync.
277 1.1 christos .sp
278 1.1 christos .TP
279 1.1 christos .NOP \f\*[B-Font]\-N\f[], \f\*[B-Font]\-\-nice\f[]
280 1.1 christos Run at high priority.
281 1.1 christos .sp
282 1.1 christos To the extent permitted by the operating system, run
283 1.1 christos \fBntpd\fP
284 1.1 christos at the highest priority.
285 1.1 christos .TP
286 1.1 christos .NOP \f\*[B-Font]\-p\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-pidfile\f[]=\f\*[I-Font]string\f[]
287 1.1 christos path to the PID file.
288 1.1 christos .sp
289 1.1 christos Specify the name and path of the file used to record
290 1.1 christos \fBntpd\fP's
291 1.1 christos process ID.
292 1.1 christos This is the same operation as the
293 1.1 christos \fBpidfile\fP \fIpidfile\fP
294 1.1 christos configuration file directive.
295 1.1 christos .TP
296 1.1 christos .NOP \f\*[B-Font]\-P\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-priority\f[]=\f\*[I-Font]number\f[]
297 1.1 christos Process priority.
298 1.1 christos This option takes an integer number as its argument.
299 1.1 christos .sp
300 1.1 christos To the extent permitted by the operating system, run
301 1.1 christos \fBntpd\fP
302 1.1 christos at the specified
303 1.1 christos \fBsched_setscheduler(SCHED_FIFO)\fP
304 1.1 christos priority.
305 1.1 christos .TP
306 1.1 christos .NOP \f\*[B-Font]\-q\f[], \f\*[B-Font]\-\-quit\f[]
307 1.1 christos Set the time and quit.
308 1.1 christos This option must not appear in combination with any of the following options:
309 1.1 christos saveconfigquit, wait-sync.
310 1.1 christos .sp
311 1.1 christos \fBntpd\fP
312 1.1 christos will not daemonize and will exit after the clock is first
313 1.1 christos synchronized. This behavior mimics that of the
314 1.1 christos \fBntpdate\fP
315 1.1 christos program, which will soon be replaced with a shell script.
316 1.1 christos The
317 1.1 christos \fB-g\fP
318 1.1 christos and
319 1.1 christos \fB-x\fP
320 1.1 christos options can be used with this option.
321 1.1 christos Note: The kernel time discipline is disabled with this option.
322 1.1 christos .TP
323 1.1 christos .NOP \f\*[B-Font]\-r\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-propagationdelay\f[]=\f\*[I-Font]string\f[]
324 1.1 christos Broadcast/propagation delay.
325 1.1 christos .sp
326 1.1 christos 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.
327 1.1 christos .TP
328 1.1 christos .NOP \f\*[B-Font]\-\-saveconfigquit\f[]=\f\*[I-Font]string\f[]
329 1.1 christos Save parsed configuration and quit.
330 1.1 christos This option must not appear in combination with any of the following options:
331 1.1 christos quit, wait-sync.
332 1.1 christos .sp
333 1.1 christos Cause \fBntpd\fP to parse its startup configuration file and save an
334 1.1 christos equivalent to the given filename and exit. This option was
335 1.1 christos designed for automated testing.
336 1.1 christos .TP
337 1.1 christos .NOP \f\*[B-Font]\-s\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-statsdir\f[]=\f\*[I-Font]string\f[]
338 1.1 christos Statistics file location.
339 1.1 christos .sp
340 1.1 christos Specify the directory path for files created by the statistics facility.
341 1.1 christos This is the same operation as the
342 1.1 christos \fBstatsdir\fP \fIstatsdir\fP
343 1.1 christos configuration file directive.
344 1.1 christos .TP
345 1.1 christos .NOP \f\*[B-Font]\-t\f[] \f\*[I-Font]tkey\f[], \f\*[B-Font]\-\-trustedkey\f[]=\f\*[I-Font]tkey\f[]
346 1.1 christos Trusted key number.
347 1.1 christos This option may appear an unlimited number of times.
348 1.1 christos .sp
349 1.1 christos Add the specified key number to the trusted key list.
350 1.1 christos .TP
351 1.1 christos .NOP \f\*[B-Font]\-u\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-user\f[]=\f\*[I-Font]string\f[]
352 1.1 christos Run as userid (or userid:groupid).
353 1.1 christos .sp
354 1.1 christos Specify a user, and optionally a group, to switch to.
355 1.1 christos This option is only available if the OS supports adjusting the clock
356 1.1 christos without full root privileges.
357 1.1 christos This option is supported under NetBSD (configure with
358 1.1 christos \fB--enable-clockctl\fP) or Linux (configure with
359 1.1 christos \fB--enable-linuxcaps\fP) or Solaris (configure with \fB--enable-solarisprivs\fP).
360 1.1 christos .TP
361 1.1 christos .NOP \f\*[B-Font]\-U\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-updateinterval\f[]=\f\*[I-Font]number\f[]
362 1.1 christos interval in seconds between scans for new or dropped interfaces.
363 1.1 christos This option takes an integer number as its argument.
364 1.1 christos .sp
365 1.1 christos Give the time in seconds between two scans for new or dropped interfaces.
366 1.1 christos For systems with routing socket support the scans will be performed shortly after the interface change
367 1.1 christos has been detected by the system.
368 1.1 christos Use 0 to disable scanning. 60 seconds is the minimum time between scans.
369 1.1 christos .TP
370 1.1 christos .NOP \f\*[B-Font]\-\-var\f[]=\f\*[I-Font]nvar\f[]
371 1.1 christos make ARG an ntp variable (RW).
372 1.1 christos This option may appear an unlimited number of times.
373 1.1 christos .sp
374 1.1 christos .TP
375 1.1 christos .NOP \f\*[B-Font]\-\-dvar\f[]=\f\*[I-Font]ndvar\f[]
376 1.1 christos make ARG an ntp variable (RW|DEF).
377 1.1 christos This option may appear an unlimited number of times.
378 1.1 christos .sp
379 1.1 christos .TP
380 1.1 christos .NOP \f\*[B-Font]\-w\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-wait\-sync\f[]=\f\*[I-Font]number\f[]
381 1.1 christos Seconds to wait for first clock sync.
382 1.1 christos This option must not appear in combination with any of the following options:
383 1.1 christos nofork, quit, saveconfigquit.
384 1.1 christos This option takes an integer number as its argument.
385 1.1 christos .sp
386 1.1 christos If greater than zero, alters \fBntpd\fP's behavior when forking to
387 1.1 christos daemonize. Instead of exiting with status 0 immediately after
388 1.1 christos the fork, the parent waits up to the specified number of
389 1.1 christos seconds for the child to first synchronize the clock. The exit
390 1.1 christos status is zero (success) if the clock was synchronized,
391 1.1 christos otherwise it is \fBETIMEDOUT\fP.
392 1.1 christos This provides the option for a script starting \fBntpd\fP to easily
393 1.1 christos wait for the first set of the clock before proceeding.
394 1.1 christos .TP
395 1.1 christos .NOP \f\*[B-Font]\-x\f[], \f\*[B-Font]\-\-slew\f[]
396 1.1 christos Slew up to 600 seconds.
397 1.1 christos .sp
398 1.1 christos 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.
399 1.1 christos This option sets the threshold to 600 s, which is well within the accuracy window to set the clock manually.
400 1.1 christos 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.
401 1.1 christos Thus, an adjustment as much as 600 s will take almost 14 days to complete.
402 1.1 christos This option can be used with the
403 1.1 christos \fB-g\fP
404 1.1 christos and
405 1.1 christos \fB-q\fP
406 1.1 christos options.
407 1.1 christos See the
408 1.1 christos \fBtinker\fP
409 1.1 christos configuration file directive for other options.
410 1.1 christos Note: The kernel time discipline is disabled with this option.
411 1.1 christos .TP
412 1.1 christos .NOP \f\*[B-Font]\-\-usepcc\f[]
413 1.1 christos Use CPU cycle counter (Windows only).
414 1.1 christos .sp
415 1.1 christos Attempt to substitute the CPU counter for \fBQueryPerformanceCounter\fP.
416 1.1 christos The CPU counter and \fBQueryPerformanceCounter\fP are compared, and if
417 1.1 christos they have the same frequency, the CPU counter (RDTSC on x86) is
418 1.1 christos used directly, saving the overhead of a system call.
419 1.1 christos .TP
420 1.1 christos .NOP \f\*[B-Font]\-\-pccfreq\f[]=\f\*[I-Font]string\f[]
421 1.1 christos Force CPU cycle counter use (Windows only).
422 1.1 christos .sp
423 1.1 christos Force substitution the CPU counter for \fBQueryPerformanceCounter\fP.
424 1.1 christos The CPU counter (RDTSC on x86) is used unconditionally with the
425 1.1 christos given frequency (in Hz).
426 1.1 christos .TP
427 1.1 christos .NOP \f\*[B-Font]\-m\f[], \f\*[B-Font]\-\-mdns\f[]
428 1.1 christos Register with mDNS as a NTP server.
429 1.1 christos .sp
430 1.1 christos Registers as an NTP server with the local mDNS server which allows
431 1.1 christos the server to be discovered via mDNS client lookup.
432 1.1 christos .TP
433 1.1 christos .NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
434 1.1 christos Display usage information and exit.
435 1.1 christos .TP
436 1.1 christos .NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
437 1.1 christos Pass the extended usage information through a pager.
438 1.1 christos .TP
439 1.1 christos .NOP \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]
440 1.1 christos Output version of program and exit. The default mode is `v', a simple
441 1.1 christos version. The `c' mode will print copyright information and `n' will
442 1.1 christos print the full copyright notice.
443 1.1 christos .PP
444 1.1 christos .SH "OPTION PRESETS"
445 1.1 christos Any option that is not marked as \fInot presettable\fP may be preset
446 1.1 christos by loading values from environment variables named:
447 1.1 christos .nf
448 1.1 christos \fBNTPD_<option-name>\fP or \fBNTPD\fP
449 1.1 christos .fi
450 1.1 christos .ad
451 1.1 christos .SH USAGE
452 1.1 christos .SS "How NTP Operates"
453 1.1 christos The
454 1.1 christos \f\*[B-Font]ntpd\fP
455 1.1 christos utility operates by exchanging messages with
456 1.1 christos one or more configured servers over a range of designated poll intervals.
457 1.1 christos When
458 1.1 christos started, whether for the first or subsequent times, the program
459 1.1 christos requires several exchanges from the majority of these servers so
460 1.1 christos the signal processing and mitigation algorithms can accumulate and
461 1.1 christos groom the data and set the clock.
462 1.1 christos In order to protect the network
463 1.1 christos from bursts, the initial poll interval for each server is delayed
464 1.1 christos an interval randomized over a few seconds.
465 1.1 christos At the default initial poll
466 1.1 christos interval of 64s, several minutes can elapse before the clock is
467 1.1 christos set.
468 1.1 christos This initial delay to set the clock
469 1.1 christos can be safely and dramatically reduced using the
470 1.1 christos \f\*[B-Font]iburst\f[]
471 1.1 christos keyword with the
472 1.1 christos \f\*[B-Font]server\f[]
473 1.1 christos configuration
474 1.1 christos command, as described in
475 1.1.1.4 christos \fCntp.conf\f[]\fR(5)\f[].
476 1.1 christos .sp \n(Ppu
477 1.1 christos .ne 2
478 1.1 christos
479 1.1 christos Most operating systems and hardware of today incorporate a
480 1.1 christos time-of-year (TOY) chip to maintain the time during periods when
481 1.1 christos the power is off.
482 1.1 christos When the machine is booted, the chip is used to
483 1.1 christos initialize the operating system time.
484 1.1 christos After the machine has
485 1.1 christos synchronized to a NTP server, the operating system corrects the
486 1.1 christos chip from time to time.
487 1.1 christos In the default case, if
488 1.1 christos \f\*[B-Font]ntpd\fP
489 1.1 christos detects that the time on the host
490 1.1 christos is more than 1000s from the server time,
491 1.1 christos \f\*[B-Font]ntpd\fP
492 1.1 christos assumes something must be terribly wrong and the only
493 1.1 christos reliable action is for the operator to intervene and set the clock
494 1.1 christos by hand.
495 1.1 christos (Reasons for this include there is no TOY chip,
496 1.1 christos or its battery is dead, or that the TOY chip is just of poor quality.)
497 1.1 christos This causes
498 1.1 christos \f\*[B-Font]ntpd\fP
499 1.1 christos to exit with a panic message to
500 1.1 christos the system log.
501 1.1 christos The
502 1.1 christos \f\*[B-Font]\-g\f[]
503 1.1 christos option overrides this check and the
504 1.1 christos clock will be set to the server time regardless of the chip time
505 1.1 christos (up to 68 years in the past or future \(em
506 1.1 christos this is a limitation of the NTPv4 protocol).
507 1.1 christos However, and to protect against broken hardware, such as when the
508 1.1 christos CMOS battery fails or the clock counter becomes defective, once the
509 1.1 christos clock has been set an error greater than 1000s will cause
510 1.1 christos \f\*[B-Font]ntpd\fP
511 1.1 christos to exit anyway.
512 1.1 christos .sp \n(Ppu
513 1.1 christos .ne 2
514 1.1 christos
515 1.1 christos Under ordinary conditions,
516 1.1 christos \f\*[B-Font]ntpd\fP
517 1.1 christos adjusts the clock in
518 1.1 christos small steps so that the timescale is effectively continuous and
519 1.1 christos without discontinuities.
520 1.1 christos Under conditions of extreme network
521 1.1 christos congestion, the roundtrip delay jitter can exceed three seconds and
522 1.1 christos the synchronization distance, which is equal to one-half the
523 1.1 christos roundtrip delay plus error budget terms, can become very large.
524 1.1 christos The
525 1.1 christos \f\*[B-Font]ntpd\fP
526 1.1 christos algorithms discard sample offsets exceeding 128 ms,
527 1.1 christos unless the interval during which no sample offset is less than 128
528 1.1 christos ms exceeds 900s.
529 1.1 christos The first sample after that, no matter what the
530 1.1 christos offset, steps the clock to the indicated time.
531 1.1 christos In practice this
532 1.1 christos reduces the false alarm rate where the clock is stepped in error to
533 1.1 christos a vanishingly low incidence.
534 1.1 christos .sp \n(Ppu
535 1.1 christos .ne 2
536 1.1 christos
537 1.1 christos As the result of this behavior, once the clock has been set it
538 1.1 christos very rarely strays more than 128 ms even under extreme cases of
539 1.1 christos network path congestion and jitter.
540 1.1 christos Sometimes, in particular when
541 1.1 christos \f\*[B-Font]ntpd\fP
542 1.1 christos is first started without a valid drift file
543 1.1 christos on a system with a large intrinsic drift
544 1.1 christos the error might grow to exceed 128 ms,
545 1.1 christos which would cause the clock to be set backwards
546 1.1 christos if the local clock time is more than 128 s
547 1.1 christos in the future relative to the server.
548 1.1 christos In some applications, this behavior may be unacceptable.
549 1.1 christos There are several solutions, however.
550 1.1 christos If the
551 1.1 christos \f\*[B-Font]\-x\f[]
552 1.1 christos option is included on the command line, the clock will
553 1.1 christos never be stepped and only slew corrections will be used.
554 1.1 christos But this choice comes with a cost that
555 1.1 christos should be carefully explored before deciding to use
556 1.1 christos the
557 1.1 christos \f\*[B-Font]\-x\f[]
558 1.1 christos option.
559 1.1 christos The maximum slew rate possible is limited
560 1.1 christos to 500 parts-per-million (PPM) as a consequence of the correctness
561 1.1 christos principles on which the NTP protocol and algorithm design are
562 1.1 christos based.
563 1.1 christos As a result, the local clock can take a long time to
564 1.1 christos converge to an acceptable offset, about 2,000 s for each second the
565 1.1 christos clock is outside the acceptable range.
566 1.1 christos During this interval the
567 1.1 christos local clock will not be consistent with any other network clock and
568 1.1 christos the system cannot be used for distributed applications that require
569 1.1 christos correctly synchronized network time.
570 1.1 christos .sp \n(Ppu
571 1.1 christos .ne 2
572 1.1 christos
573 1.1 christos In spite of the above precautions, sometimes when large
574 1.1 christos frequency errors are present the resulting time offsets stray
575 1.1 christos outside the 128-ms range and an eventual step or slew time
576 1.1 christos correction is required.
577 1.1 christos If following such a correction the
578 1.1 christos frequency error is so large that the first sample is outside the
579 1.1 christos acceptable range,
580 1.1 christos \f\*[B-Font]ntpd\fP
581 1.1 christos enters the same state as when the
582 1.1 christos \fIntp.drift\f[]
583 1.1 christos file is not present.
584 1.1 christos The intent of this behavior
585 1.1 christos is to quickly correct the frequency and restore operation to the
586 1.1 christos normal tracking mode.
587 1.1 christos In the most extreme cases
588 1.1 christos (the host
589 1.1 christos \f\*[B-Font]time.ien.it\f[]
590 1.1 christos comes to mind), there may be occasional
591 1.1 christos step/slew corrections and subsequent frequency corrections.
592 1.1 christos It
593 1.1 christos helps in these cases to use the
594 1.1 christos \f\*[B-Font]burst\f[]
595 1.1 christos keyword when
596 1.1 christos configuring the server, but
597 1.1 christos ONLY
598 1.1 christos when you have permission to do so from the owner of the target host.
599 1.1 christos .sp \n(Ppu
600 1.1 christos .ne 2
601 1.1 christos
602 1.1 christos Finally,
603 1.1 christos in the past many startup scripts would run
604 1.1.1.4 christos \fCntpdate\f[]\fR(1ntpdatemdoc)\f[]
605 1.1.1.5 christos or
606 1.1.1.5 christos \fCsntp\f[]\fR(1sntpmdoc)\f[]
607 1.1 christos to get the system clock close to correct before starting
608 1.1.1.4 christos \fCntpd\f[]\fR(1ntpdmdoc)\f[],
609 1.1 christos but this was never more than a mediocre hack and is no longer needed.
610 1.1.1.2 christos If you are following the instructions in
611 1.1.1.2 christos \fIStarting NTP (Best Current Practice)\f[]
612 1.1.1.2 christos and you still need to set the system time before starting
613 1.1.1.2 christos \f\*[B-Font]ntpd\fP,
614 1.1.1.2 christos please open a bug report and document what is going on,
615 1.1.1.2 christos and then look at using
616 1.1.1.5 christos \fCsntp\f[]\fR(1sntpmdoc)\f[]
617 1.1.1.5 christos if you really need to set the clock before starting
618 1.1.1.5 christos \f\*[B-Font]ntpd\fP.
619 1.1 christos .sp \n(Ppu
620 1.1 christos .ne 2
621 1.1 christos
622 1.1 christos There is a way to start
623 1.1.1.4 christos \fCntpd\f[]\fR(1ntpdmdoc)\f[]
624 1.1 christos that often addresses all of the problems mentioned above.
625 1.1 christos .SS "Starting NTP (Best Current Practice)"
626 1.1 christos First, use the
627 1.1 christos \f\*[B-Font]iburst\f[]
628 1.1 christos option on your
629 1.1 christos \f\*[B-Font]server\f[]
630 1.1 christos entries.
631 1.1 christos .sp \n(Ppu
632 1.1 christos .ne 2
633 1.1 christos
634 1.1 christos If you can also keep a good
635 1.1 christos \fIntp.drift\f[]
636 1.1 christos file then
637 1.1.1.4 christos \fCntpd\f[]\fR(1ntpdmdoc)\f[]
638 1.1 christos will effectively "warm-start" and your system's clock will
639 1.1 christos be stable in under 11 seconds' time.
640 1.1 christos .sp \n(Ppu
641 1.1 christos .ne 2
642 1.1 christos
643 1.1 christos As soon as possible in the startup sequence, start
644 1.1.1.4 christos \fCntpd\f[]\fR(1ntpdmdoc)\f[]
645 1.1 christos with at least the
646 1.1 christos \f\*[B-Font]\-g\f[]
647 1.1 christos and perhaps the
648 1.1 christos \f\*[B-Font]\-N\f[]
649 1.1 christos options.
650 1.1 christos Then,
651 1.1 christos start the rest of your "normal" processes.
652 1.1 christos This will give
653 1.1.1.4 christos \fCntpd\f[]\fR(1ntpdmdoc)\f[]
654 1.1 christos as much time as possible to get the system's clock synchronized and stable.
655 1.1 christos .sp \n(Ppu
656 1.1 christos .ne 2
657 1.1 christos
658 1.1 christos Finally,
659 1.1 christos if you have processes like
660 1.1 christos \f\*[B-Font]dovecot\f[]
661 1.1 christos or database servers
662 1.1 christos that require
663 1.1 christos monotonically-increasing time,
664 1.1 christos run
665 1.1.1.4 christos \fCntp-wait\f[]\fR(1ntp-waitmdoc)\f[]
666 1.1 christos as late as possible in the boot sequence
667 1.1 christos (perhaps with the
668 1.1 christos \f\*[B-Font]\-v\f[]
669 1.1 christos flag)
670 1.1 christos and after
671 1.1.1.4 christos \fCntp-wait\f[]\fR(1ntp-waitmdoc)\f[]
672 1.1 christos exits successfully
673 1.1 christos it is as safe as it will ever be to start any process that require
674 1.1 christos stable time.
675 1.1 christos .SS "Frequency Discipline"
676 1.1 christos The
677 1.1 christos \f\*[B-Font]ntpd\fP
678 1.1 christos behavior at startup depends on whether the
679 1.1 christos frequency file, usually
680 1.1 christos \fIntp.drift\f[],
681 1.1 christos exists.
682 1.1 christos This file
683 1.1 christos contains the latest estimate of clock frequency error.
684 1.1 christos When the
685 1.1 christos \f\*[B-Font]ntpd\fP
686 1.1 christos is started and the file does not exist, the
687 1.1 christos \f\*[B-Font]ntpd\fP
688 1.1 christos enters a special mode designed to quickly adapt to
689 1.1 christos the particular system clock oscillator time and frequency error.
690 1.1 christos This takes approximately 15 minutes, after which the time and
691 1.1 christos frequency are set to nominal values and the
692 1.1 christos \f\*[B-Font]ntpd\fP
693 1.1 christos enters
694 1.1 christos normal mode, where the time and frequency are continuously tracked
695 1.1 christos relative to the server.
696 1.1 christos After one hour the frequency file is
697 1.1 christos created and the current frequency offset written to it.
698 1.1 christos When the
699 1.1 christos \f\*[B-Font]ntpd\fP
700 1.1 christos is started and the file does exist, the
701 1.1 christos \f\*[B-Font]ntpd\fP
702 1.1 christos frequency is initialized from the file and enters normal mode
703 1.1 christos immediately.
704 1.1 christos After that the current frequency offset is written to
705 1.1 christos the file at hourly intervals.
706 1.1 christos .SS "Operating Modes"
707 1.1 christos The
708 1.1 christos \f\*[B-Font]ntpd\fP
709 1.1 christos utility can operate in any of several modes, including
710 1.1 christos symmetric active/passive, client/server broadcast/multicast and
711 1.1 christos manycast, as described in the
712 1.1 christos "Association Management"
713 1.1 christos page
714 1.1 christos (available as part of the HTML documentation
715 1.1 christos provided in
716 1.1 christos \fI/usr/share/doc/ntp\f[]).
717 1.1 christos It normally operates continuously while
718 1.1 christos monitoring for small changes in frequency and trimming the clock
719 1.1 christos for the ultimate precision.
720 1.1 christos However, it can operate in a one-time
721 1.1 christos mode where the time is set from an external server and frequency is
722 1.1 christos set from a previously recorded frequency file.
723 1.1 christos A
724 1.1 christos broadcast/multicast or manycast client can discover remote servers,
725 1.1 christos compute server-client propagation delay correction factors and
726 1.1 christos configure itself automatically.
727 1.1 christos This makes it possible to deploy a
728 1.1 christos fleet of workstations without specifying configuration details
729 1.1 christos specific to the local environment.
730 1.1 christos .sp \n(Ppu
731 1.1 christos .ne 2
732 1.1 christos
733 1.1 christos By default,
734 1.1 christos \f\*[B-Font]ntpd\fP
735 1.1 christos runs in continuous mode where each of
736 1.1 christos possibly several external servers is polled at intervals determined
737 1.1 christos by an intricate state machine.
738 1.1 christos The state machine measures the
739 1.1 christos incidental roundtrip delay jitter and oscillator frequency wander
740 1.1 christos and determines the best poll interval using a heuristic algorithm.
741 1.1 christos Ordinarily, and in most operating environments, the state machine
742 1.1 christos will start with 64s intervals and eventually increase in steps to
743 1.1 christos 1024s.
744 1.1 christos A small amount of random variation is introduced in order to
745 1.1 christos avoid bunching at the servers.
746 1.1 christos In addition, should a server become
747 1.1 christos unreachable for some time, the poll interval is increased in steps
748 1.1 christos to 1024s in order to reduce network overhead.
749 1.1 christos .sp \n(Ppu
750 1.1 christos .ne 2
751 1.1 christos
752 1.1 christos In some cases it may not be practical for
753 1.1 christos \f\*[B-Font]ntpd\fP
754 1.1.1.2 christos to run continuously.
755 1.1 christos A common workaround has been to run the
756 1.1.1.4 christos \fCntpdate\f[]\fR(1ntpdatemdoc)\f[]
757 1.1.1.2 christos or
758 1.1.1.4 christos \fCsntp\f[]\fR(1sntpmdoc)\f[]
759 1.1.1.2 christos programs from a
760 1.1.1.4 christos \fCcron\f[]\fR(8)\f[]
761 1.1 christos job at designated
762 1.1 christos times.
763 1.1.1.2 christos However, these programs do not have the crafted signal
764 1.1.1.2 christos processing, error checking or mitigation algorithms of
765 1.1 christos \f\*[B-Font]ntpd\fP.
766 1.1 christos The
767 1.1 christos \f\*[B-Font]\-q\f[]
768 1.1 christos option is intended for this purpose.
769 1.1 christos Setting this option will cause
770 1.1 christos \f\*[B-Font]ntpd\fP
771 1.1 christos to exit just after
772 1.1 christos setting the clock for the first time.
773 1.1 christos The procedure for initially
774 1.1 christos setting the clock is the same as in continuous mode; most
775 1.1 christos applications will probably want to specify the
776 1.1 christos \f\*[B-Font]iburst\f[]
777 1.1 christos keyword with the
778 1.1 christos \f\*[B-Font]server\f[]
779 1.1 christos configuration command.
780 1.1 christos With this
781 1.1 christos keyword a volley of messages are exchanged to groom the data and
782 1.1 christos the clock is set in about 10 s.
783 1.1 christos If nothing is heard after a
784 1.1 christos couple of minutes, the daemon times out and exits.
785 1.1 christos After a suitable
786 1.1 christos period of mourning, the
787 1.1.1.4 christos \fCntpdate\f[]\fR(1ntpdatemdoc)\f[]
788 1.1.1.2 christos program will be
789 1.1 christos retired.
790 1.1 christos .sp \n(Ppu
791 1.1 christos .ne 2
792 1.1 christos
793 1.1 christos When kernel support is available to discipline the clock
794 1.1 christos frequency, which is the case for stock Solaris, Tru64, Linux and
795 1.1 christos FreeBSD,
796 1.1 christos a useful feature is available to discipline the clock
797 1.1 christos frequency.
798 1.1 christos First,
799 1.1 christos \f\*[B-Font]ntpd\fP
800 1.1 christos is run in continuous mode with
801 1.1 christos selected servers in order to measure and record the intrinsic clock
802 1.1 christos frequency offset in the frequency file.
803 1.1 christos It may take some hours for
804 1.1 christos the frequency and offset to settle down.
805 1.1 christos Then the
806 1.1 christos \f\*[B-Font]ntpd\fP
807 1.1 christos is
808 1.1 christos stopped and run in one-time mode as required.
809 1.1 christos At each startup, the
810 1.1 christos frequency is read from the file and initializes the kernel
811 1.1 christos frequency.
812 1.1 christos .SS "Poll Interval Control"
813 1.1 christos This version of NTP includes an intricate state machine to
814 1.1 christos reduce the network load while maintaining a quality of
815 1.1 christos synchronization consistent with the observed jitter and wander.
816 1.1 christos There are a number of ways to tailor the operation in order enhance
817 1.1 christos accuracy by reducing the interval or to reduce network overhead by
818 1.1 christos increasing it.
819 1.1 christos However, the user is advised to carefully consider
820 1.1 christos the consequences of changing the poll adjustment range from the
821 1.1 christos default minimum of 64 s to the default maximum of 1,024 s.
822 1.1 christos The
823 1.1 christos default minimum can be changed with the
824 1.1 christos \f\*[B-Font]tinker\f[]
825 1.1 christos \f\*[B-Font]minpoll\f[]
826 1.1 christos command to a value not less than 16 s.
827 1.1 christos This value is used for all
828 1.1 christos configured associations, unless overridden by the
829 1.1 christos \f\*[B-Font]minpoll\f[]
830 1.1 christos option on the configuration command.
831 1.1 christos Note that most device drivers
832 1.1 christos will not operate properly if the poll interval is less than 64 s
833 1.1 christos and that the broadcast server and manycast client associations will
834 1.1 christos also use the default, unless overridden.
835 1.1 christos .sp \n(Ppu
836 1.1 christos .ne 2
837 1.1 christos
838 1.1 christos In some cases involving dial up or toll services, it may be
839 1.1 christos useful to increase the minimum interval to a few tens of minutes
840 1.1 christos and maximum interval to a day or so.
841 1.1 christos Under normal operation
842 1.1 christos conditions, once the clock discipline loop has stabilized the
843 1.1 christos interval will be increased in steps from the minimum to the
844 1.1 christos maximum.
845 1.1 christos However, this assumes the intrinsic clock frequency error
846 1.1 christos is small enough for the discipline loop correct it.
847 1.1 christos The capture
848 1.1 christos range of the loop is 500 PPM at an interval of 64s decreasing by a
849 1.1 christos factor of two for each doubling of interval.
850 1.1 christos At a minimum of 1,024
851 1.1 christos s, for example, the capture range is only 31 PPM.
852 1.1 christos If the intrinsic
853 1.1 christos error is greater than this, the drift file
854 1.1 christos \fIntp.drift\f[]
855 1.1 christos will
856 1.1 christos have to be specially tailored to reduce the residual error below
857 1.1 christos this limit.
858 1.1 christos Once this is done, the drift file is automatically
859 1.1 christos updated once per hour and is available to initialize the frequency
860 1.1 christos on subsequent daemon restarts.
861 1.1 christos .SS "The huff-n'-puff Filter"
862 1.1 christos In scenarios where a considerable amount of data are to be
863 1.1 christos downloaded or uploaded over telephone modems, timekeeping quality
864 1.1 christos can be seriously degraded.
865 1.1 christos This occurs because the differential
866 1.1 christos delays on the two directions of transmission can be quite large.
867 1.1 christos In
868 1.1 christos many cases the apparent time errors are so large as to exceed the
869 1.1 christos step threshold and a step correction can occur during and after the
870 1.1 christos data transfer is in progress.
871 1.1 christos .sp \n(Ppu
872 1.1 christos .ne 2
873 1.1 christos
874 1.1 christos The huff-n'-puff filter is designed to correct the apparent time
875 1.1 christos offset in these cases.
876 1.1 christos It depends on knowledge of the propagation
877 1.1 christos delay when no other traffic is present.
878 1.1 christos In common scenarios this
879 1.1 christos occurs during other than work hours.
880 1.1 christos The filter maintains a shift
881 1.1 christos register that remembers the minimum delay over the most recent
882 1.1 christos interval measured usually in hours.
883 1.1 christos Under conditions of severe
884 1.1 christos delay, the filter corrects the apparent offset using the sign of
885 1.1 christos the offset and the difference between the apparent delay and
886 1.1 christos minimum delay.
887 1.1 christos The name of the filter reflects the negative (huff)
888 1.1 christos and positive (puff) correction, which depends on the sign of the
889 1.1 christos offset.
890 1.1 christos .sp \n(Ppu
891 1.1 christos .ne 2
892 1.1 christos
893 1.1 christos The filter is activated by the
894 1.1 christos \f\*[B-Font]tinker\f[]
895 1.1 christos command and
896 1.1 christos \f\*[B-Font]huffpuff\f[]
897 1.1 christos keyword, as described in
898 1.1.1.4 christos \fCntp.conf\f[]\fR(5)\f[].
899 1.1 christos .SH "ENVIRONMENT"
900 1.1 christos See \fBOPTION PRESETS\fP for configuration environment variables.
901 1.1 christos .SH FILES
902 1.1 christos .TP 15
903 1.1 christos .NOP \fI/etc/ntp.conf\f[]
904 1.1 christos the default name of the configuration file
905 1.1 christos .br
906 1.1 christos .ns
907 1.1 christos .TP 15
908 1.1 christos .NOP \fI/etc/ntp.drift\f[]
909 1.1 christos the default name of the drift file
910 1.1 christos .br
911 1.1 christos .ns
912 1.1 christos .TP 15
913 1.1 christos .NOP \fI/etc/ntp.keys\f[]
914 1.1 christos the default name of the key file
915 1.1 christos .PP
916 1.1 christos .SH "EXIT STATUS"
917 1.1 christos One of the following exit values will be returned:
918 1.1 christos .TP
919 1.1 christos .NOP 0 " (EXIT_SUCCESS)"
920 1.1 christos Successful program execution.
921 1.1 christos .TP
922 1.1 christos .NOP 1 " (EXIT_FAILURE)"
923 1.1 christos The operation failed or the command syntax was not valid.
924 1.1 christos .TP
925 1.1 christos .NOP 70 " (EX_SOFTWARE)"
926 1.1 christos libopts had an internal operational error. Please report
927 1.1 christos it to autogen-users (a] lists.sourceforge.net. Thank you.
928 1.1 christos .PP
929 1.1 christos .SH "SEE ALSO"
930 1.1.1.4 christos \fCntp.conf\f[]\fR(5)\f[],
931 1.1.1.4 christos \fCntpdate\f[]\fR(1ntpdatemdoc)\f[],
932 1.1.1.4 christos \fCntpdc\f[]\fR(1ntpdcmdoc)\f[],
933 1.1.1.4 christos \fCntpq\f[]\fR(1ntpqmdoc)\f[],
934 1.1.1.4 christos \fCsntp\f[]\fR(1sntpmdoc)\f[]
935 1.1 christos .sp \n(Ppu
936 1.1 christos .ne 2
937 1.1 christos
938 1.1 christos In addition to the manual pages provided,
939 1.1 christos comprehensive documentation is available on the world wide web
940 1.1 christos at
941 1.1 christos \f[C]http://www.ntp.org/\f[].
942 1.1 christos A snapshot of this documentation is available in HTML format in
943 1.1 christos \fI/usr/share/doc/ntp\f[].
944 1.1 christos David L. Mills,
945 1.1 christos \fINetwork Time Protocol (Version 1)\fR,
946 1.1 christos RFC1059
947 1.1 christos .PP
948 1.1 christos
949 1.1 christos David L. Mills,
950 1.1 christos \fINetwork Time Protocol (Version 2)\fR,
951 1.1 christos RFC1119
952 1.1 christos .PP
953 1.1 christos
954 1.1 christos David L. Mills,
955 1.1 christos \fINetwork Time Protocol (Version 3)\fR,
956 1.1 christos RFC1305
957 1.1 christos .PP
958 1.1 christos
959 1.1 christos David L. Mills and J. Martin, Ed. and J. Burbank and W. Kasch,
960 1.1 christos \fINetwork Time Protocol Version 4: Protocol and Algorithms Specification\fR,
961 1.1 christos RFC5905
962 1.1 christos .PP
963 1.1 christos
964 1.1 christos David L. Mills and B. Haberman, Ed.,
965 1.1 christos \fINetwork Time Protocol Version 4: Autokey Specification\fR,
966 1.1 christos RFC5906
967 1.1 christos .PP
968 1.1 christos
969 1.1 christos H. Gerstung and C. Elliott and B. Haberman, Ed.,
970 1.1 christos \fIDefinitions of Managed Objects for Network Time Protocol Version 4: (NTPv4)\fR,
971 1.1 christos RFC5907
972 1.1 christos .PP
973 1.1 christos
974 1.1 christos R. Gayraud and B. Lourdelet,
975 1.1 christos \fINetwork Time Protocol (NTP) Server Option for DHCPv6\fR,
976 1.1 christos RFC5908
977 1.1 christos .PP
978 1.1 christos
979 1.1 christos .SH "AUTHORS"
980 1.1.1.3 christos The University of Delaware and Network Time Foundation
981 1.1 christos .SH "COPYRIGHT"
982 1.1.1.13 christos Copyright (C) 1992-2020 The University of Delaware and Network Time Foundation all rights reserved.
983 1.1 christos This program is released under the terms of the NTP license, <http://ntp.org/license>.
984 1.1 christos .SH BUGS
985 1.1 christos The
986 1.1 christos \f\*[B-Font]ntpd\fP
987 1.1 christos utility has gotten rather fat.
988 1.1 christos While not huge, it has gotten
989 1.1 christos larger than might be desirable for an elevated-priority
990 1.1 christos \f\*[B-Font]ntpd\fP
991 1.1 christos running on a workstation, particularly since many of
992 1.1 christos the fancy features which consume the space were designed more with
993 1.1 christos a busy primary server, rather than a high stratum workstation in
994 1.1 christos mind.
995 1.1 christos .sp \n(Ppu
996 1.1 christos .ne 2
997 1.1 christos
998 1.1 christos Please send bug reports to: http://bugs.ntp.org, bugs (a] ntp.org
999 1.1 christos .SH NOTES
1000 1.1 christos Portions of this document came from FreeBSD.
1001 1.1 christos .sp \n(Ppu
1002 1.1 christos .ne 2
1003 1.1 christos
1004 1.1 christos This manual page was \fIAutoGen\fP-erated from the \fBntpd\fP
1005 1.1 christos option definitions.
1006