ntp-wait.man.in revision 290001
1.de1 NOP
2.  it 1 an-trap
3.  if \\n[.$] \,\\$*\/
4..
5.ie t \
6.ds B-Font [CB]
7.ds I-Font [CI]
8.ds R-Font [CR]
9.el \
10.ds B-Font B
11.ds I-Font I
12.ds R-Font R
13.TH ntp-wait @NTP_WAIT_MS@ "21 Oct 2015" "ntp (4.2.8p4)" "User Commands"
14.\"
15.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-fzaONA/ag-rzaWMA)
16.\"
17.\" It has been AutoGen-ed October 21, 2015 at 12:34:08 PM by AutoGen 5.18.5
18.\" From the definitions ntp-wait-opts.def
19.\" and the template file agman-cmd.tpl
20.SH NAME
21\f\*[B-Font]ntp-wait\fP
22\- Wait for ntpd to stabilize the system clock
23.SH SYNOPSIS
24\f\*[B-Font]ntp-wait\fP
25.\" Mixture of short (flag) options and long options
26[\f\*[B-Font]\-flags\f[]]
27[\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
28[\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
29.sp \n(Ppu
30.ne 2
31
32All arguments must be options.
33.sp \n(Ppu
34.ne 2
35
36.SH DESCRIPTION
37\f\*[B-Font]ntp-wait\fP
38will send at most
39\f\*[I-Font]num-tries\f[]
40queries to
41\fCntpd\f[]\fR(8)\f[],
42sleeping for
43\f\*[I-Font]secs-between-tries\f[]
44after each status return that says
45\fCntpd\f[]\fR(8)\f[]
46has not yet produced a synchronized and stable system clock.
47.sp \n(Ppu
48.ne 2
49
50\f\*[B-Font]ntp-wait\fP
51will do this quietly, unless the
52\f\*[B-Font]\-v\f[]
53flag is provided.
54This can be useful at boot time, to delay the boot sequence until after
55\f\*[I-Font]ntpd\f[] \f\*[I-Font]\-g\f[]
56has set the time.
57.SH "OPTIONS"
58.TP
59.NOP \f\*[B-Font]\-n\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-tries\f[]=\f\*[I-Font]number\f[]
60Number of times to check ntpd.
61This option takes an integer number as its argument.
62The default
63\f\*[I-Font]number\f[]
64for this option is:
65.ti +4
66 100
67.sp
68        The maximum number of times we will check \fBntpd\fP to see if
69        it has been able to synchronize and stabilize the system clock.
70.TP
71.NOP \f\*[B-Font]\-s\f[] \f\*[I-Font]secs\-between\-tries\f[], \f\*[B-Font]\-\-sleep\f[]=\f\*[I-Font]secs\-between\-tries\f[]
72How long to sleep between tries.
73This option takes an integer number as its argument.
74The default
75\f\*[I-Font]secs\-between\-tries\f[]
76for this option is:
77.ti +4
78 6
79.sp
80        We will sleep for \fIsecs-between-tries\fP after each query
81        of \fBntpd\fP that returns "the time is not yet stable".
82.TP
83.NOP \f\*[B-Font]\-v\f[], \f\*[B-Font]\-\-verbose\f[]
84Be verbose.
85.sp
86        By default, \fBntp-wait\fP is silent.
87        With this option, \fBntp-wait\fP will provide status information.
88.TP
89.NOP \f\*[B-Font]\-\&?\f[], \f\*[B-Font]\-\-help\f[]
90Display usage information and exit.
91.TP
92.NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
93Pass the extended usage information through a pager.
94.TP
95.NOP \f\*[B-Font]\-v\f[] [{\f\*[I-Font]v|c|n\f[] \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]}]
96Output version of program and exit.  The default mode is `v', a simple
97version.  The `c' mode will print copyright information and `n' will
98print the full copyright notice.
99.PP
100.SH "EXIT STATUS"
101One of the following exit values will be returned:
102.TP
103.NOP 0 " (EXIT_SUCCESS)"
104Successful program execution.
105.TP
106.NOP 1 " (EXIT_FAILURE)"
107The operation failed or the command syntax was not valid.
108.TP
109.NOP 70 " (EX_SOFTWARE)"
110libopts had an internal operational error.  Please report
111it to autogen-users@lists.sourceforge.net.  Thank you.
112.PP
113.SH AUTHORS
114.NOP  "Harlan Stenn" 
115.br
116.SH NOTES
117This document corresponds to version @VERSION@ of NTP.
118.sp \n(Ppu
119.ne 2
120
121This manual page was \fIAutoGen\fP-erated from the \fBntp-wait\fP
122option definitions.
123