ntp-wait.1ntp-waitmdoc revision 1.1 1 1.1 christos .Dd November 30 2013
2 1.1 christos .Dt NTP_WAIT 1ntp-waitmdoc User Commands
3 1.1 christos .Os SunOS 5.10
4 1.1 christos .\" EDIT THIS FILE WITH CAUTION (ntp-wait-opts.mdoc)
5 1.1 christos .\"
6 1.1 christos .\" It has been AutoGen-ed November 30, 2013 at 11:24:47 AM by AutoGen 5.18.3pre5
7 1.1 christos .\" From the definitions ntp-wait-opts.def
8 1.1 christos .\" and the template file agmdoc-cmd.tpl
9 1.1 christos .Sh NAME
10 1.1 christos .Nm ntp-wait
11 1.1 christos .Nd Wait for ntpd to stabilize the system clock
12 1.1 christos .Sh SYNOPSIS
13 1.1 christos .Nm
14 1.1 christos .\" Mixture of short (flag) options and long options
15 1.1 christos .Op Fl flags
16 1.1 christos .Op Fl flag Ar value
17 1.1 christos .Op Fl \-option\-name Ar value
18 1.1 christos .Pp
19 1.1 christos All arguments must be options.
20 1.1 christos .Pp
21 1.1 christos .Sh DESCRIPTION
22 1.1 christos .Nm
23 1.1 christos will send at most
24 1.1 christos .Ar num\-tries
25 1.1 christos queries to
26 1.1 christos .Xr ntpd 8 ,
27 1.1 christos sleeping for
28 1.1 christos .Ar secs\-between\-tries
29 1.1 christos after each status return that says
30 1.1 christos .Xr ntpd 8
31 1.1 christos has not yet produced a synchronized and stable system clock.
32 1.1 christos .Pp
33 1.1 christos .Nm
34 1.1 christos will do this quietly, unless the
35 1.1 christos .Fl v
36 1.1 christos flag is provided.
37 1.1 christos .Sh "OPTIONS"
38 1.1 christos .Bl -tag
39 1.1 christos .It \-n " \fInum\-tries\fP, " \-\- "=" \fInum\-tries\fP
40 1.1 christos Number of times to check ntpd.
41 1.1 christos This option takes an integer number as its argument.
42 1.1 christos The default \fInum\-tries\fP for this option is:
43 1.1 christos .ti +4
44 1.1 christos 100
45 1.1 christos .sp
46 1.1 christos The maximum number of times we will check \fBntpd\fP to see if
47 1.1 christos it has been able to synchronize and stabilize the system clock.
48 1.1 christos .It \-s " \fIsecs\-between\-tries\fP, " \-\- "=" \fIsecs\-between\-tries\fP
49 1.1 christos How long to sleep between tries.
50 1.1 christos This option takes an integer number as its argument.
51 1.1 christos The default \fIsecs\-between\-tries\fP for this option is:
52 1.1 christos .ti +4
53 1.1 christos 6
54 1.1 christos .sp
55 1.1 christos We will sleep for \fIsecs\-between\-tries\fP after each query
56 1.1 christos of \fBntpd\fP that returns "the time is not yet stable".
57 1.1 christos .It \-v ", " \-\-
58 1.1 christos Be verbose.
59 1.1 christos .sp
60 1.1 christos By default, \fBntp\-wait\fP is silent.
61 1.1 christos With this option, \fBntp\-wait\fP will provide status information.
62 1.1 christos .It \-? , " \-\-help"
63 1.1 christos Display usage information and exit.
64 1.1 christos .It \-! , " \-\-more\-help"
65 1.1 christos Pass the extended usage information through a pager.
66 1.1 christos .It \-\-version "[={\fIv|c|n\fP}]"
67 1.1 christos Output version of program and exit. The default mode is `v', a simple
68 1.1 christos version. The `c' mode will print copyright information and `n' will
69 1.1 christos print the full copyright notice.
70 1.1 christos .El
71 1.1 christos .Sh "OPTION PRESETS"
72 1.1 christos Any option that is not marked as \fInot presettable\fP may be preset
73 1.1 christos by loading values from environment variables named:
74 1.1 christos .nf
75 1.1 christos \fBNTP_WAIT_<option\-name>\fP or \fBNTP_WAIT\fP
76 1.1 christos .fi
77 1.1 christos .ad
78 1.1 christos cvt_prog='/usr/local/gnu/share/autogen/texi2mdoc'
79 1.1 christos cvt_prog=`cd \`dirname "$cvt_prog"\` >/dev/null && pwd
80 1.1 christos `/`basename "$cvt_prog"`
81 1.1 christos cd $tmp_dir
82 1.1 christos test \-x "$cvt_prog" || die "'$cvt_prog' is not executable"
83 1.1 christos {
84 1.1 christos list='synopsis description options option\-presets'
85 1.1 christos for f in $list ; do cat $f ; echo ; done
86 1.1 christos rm \-f $list name
87 1.1 christos list='implementation\-notes environment files examples exit\-status errors
88 1.1 christos compatibility see\-also conforming\-to history authors copyright bugs
89 1.1 christos notes'
90 1.1 christos for f in $list ; do cat $f ; echo ; done > .end\-doc
91 1.1 christos rm \-f $list
92 1.1 christos list=`ls \-1 *`' .end\-doc'
93 1.1 christos for f in $list ; do cat $f ; echo ; done
94 1.1 christos rm \-f $list
95 1.1 christos } 1>.doc 2>/dev/null
96 1.1 christos sed \-f .cmds .doc | /usr/local/gnu/bin/grep \-E \-v '^[ ]*$' | $cvt_prog
97 1.1 christos .Sh "ENVIRONMENT"
98 1.1 christos See \fBOPTION PRESETS\fP for configuration environment variables.
99 1.1 christos .Sh "EXIT STATUS"
100 1.1 christos One of the following exit values will be returned:
101 1.1 christos .Bl -tag
102 1.1 christos .It 0 " (EXIT_SUCCESS)"
103 1.1 christos Successful program execution.
104 1.1 christos .It 1 " (EXIT_FAILURE)"
105 1.1 christos The operation failed or the command syntax was not valid.
106 1.1 christos .It 70 " (EX_SOFTWARE)"
107 1.1 christos libopts had an internal operational error. Please report
108 1.1 christos it to autogen\-users (a] lists.sourceforge.net. Thank you.
109 1.1 christos .El
110 1.1 christos .Sh AUTHORS
111 1.1 christos .An "Harlan Stenn"
112 1.1 christos .Sh "COPYRIGHT"
113 1.1 christos Copyright (C) 1970\-2013 The University of Delaware all rights reserved.
114 1.1 christos This program is released under the terms of the NTP license, <http://ntp.org/license>.
115 1.1 christos .Sh "BUGS"
116 1.1 christos Please send bug reports to: http://bugs.ntp.org, bugs (a] ntp.org
117 1.1 christos .Sh NOTES
118 1.1 christos This document corresponds to version 4.2.7p401 of NTP.
119 1.1 christos .Pp
120 1.1 christos This manual page was \fIAutoGen\fP\-erated from the \fBntp\-wait\fP
121 1.1 christos option definitions.
122