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