1ntp-wait(8) User Commands ntp-wait(8)
2
3
4
6 ntp-wait - Wait for ntpd to stabilize the system clock
7
9 ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]
10
11 All arguments must be options.
12
13
15 ntp-wait will send at most num-tries queries to ntpd(8), sleeping for
16 secs-between-tries after each status return that says ntpd(8) has not
17 yet produced a synchronized and stable system clock.
18
19 ntp-wait will do this quietly, unless the -v flag is provided. This
20 can be useful at boot time, to delay the boot sequence until after ntpd
21 -g has set the time.
22
24 -n number, --tries=number
25 Number of times to check ntpd. This option takes an integer
26 number as its argument. The default number for this option is:
27 100
28
29 The maximum number of times we will check ntpd to see if
30 it has been able to synchronize and stabilize the system
31 clock.
32
33 -s secs-between-tries, --sleep=secs-between-tries
34 How long to sleep between tries. This option takes an integer
35 number as its argument. The default secs-between-tries for this
36 option is:
37 6
38
39 We will sleep for secs-between-tries after each query
40 of ntpd that returns "the time is not yet stable".
41
42 -v, --verbose
43 Be verbose.
44
45 By default, ntp-wait is silent.
46 With this option, ntp-wait will provide status informa‐
47 tion.
48
49 -?, --help
50 Display usage information and exit.
51
52 -!, --more-help
53 Pass the extended usage information through a pager.
54
55 -v [{v|c|n --version [{v|c|n}]}]
56 Output version of program and exit. The default mode is `v', a
57 simple version. The `c' mode will print copyright information
58 and `n' will print the full copyright notice.
59
61 One of the following exit values will be returned:
62
63 0 (EXIT_SUCCESS)
64 Successful program execution.
65
66 1 (EXIT_FAILURE)
67 The operation failed or the command syntax was not valid.
68
69 70 (EX_SOFTWARE)
70 libopts had an internal operational error. Please report it to
71 autogen-users@lists.sourceforge.net. Thank you.
72
74 Harlan Stenn
75
77 This document corresponds to version 4.2.8p13 of NTP.
78
79 This manual page was AutoGen-erated from the ntp-wait option defini‐
80 tions.
81
82
83
84ntp (4.2.8p13) 20 Feb 2019 ntp-wait(8)