# ntp-wait(8) - man - phpMan

[NTP_WAIT(8)](https://www.chedong.com/phpMan.php/man/NTPWAIT/8/markdown)               BSD System Manager's Manual              [NTP_WAIT(8)](https://www.chedong.com/phpMan.php/man/NTPWAIT/8/markdown)

## NAME
     **ntp-wait** — Wait for ntpd to stabilize the system clock

## SYNOPSIS
     **ntp-wait** [**-flags**] [**-flag** [_value_]] [**--option-name**[[=| ]_value_]]

              All arguments must be options.

## DESCRIPTION
     **ntp-wait** will send at most _num-tries_ queries to [ntpd(8)](https://www.chedong.com/phpMan.php/man/ntpd/8/markdown), sleeping for _secs-between-tries_ after
     each status return that says [ntpd(8)](https://www.chedong.com/phpMan.php/man/ntpd/8/markdown) has not yet produced a synchronized and stable system
     clock.

     **ntp-wait** will do this quietly, unless the **-v** flag is provided.  This can be useful at boot
     time, to delay the boot sequence until after _ntpd_ _-g_ has set the time.

## OPTIONS
### -n --tries
             Number of times to check ntpd.  This option takes an integer number as its argument.
             The default _number_ for this option is:
                  100

                     The maximum number of times we will check **ntpd** to see if
                     it has been able to synchronize and stabilize the system clock.

### -s --sleep
             How long to sleep between tries.  This option takes an integer number as its argument.
             The default _secs-between-tries_ for this option is:
                  6

                     We will sleep for _secs-between-tries_ after each query
                     of **ntpd** that returns "the time is not yet stable".

### -v --verbose
             Be verbose.

                     By default, **ntp-wait** is silent.
                     With this option, **ntp-wait** will provide status information.

     **-?**, **--help**
             Display usage information and exit.

     **-!**, **--more-help**
             Pass the extended usage information through a pager.

### -v --version
             Output version of program and exit.  The default mode is `v', a simple version.  The
             `c' mode will print copyright information and `n' will print the full copyright notice.

## EXIT STATUS
     One of the following exit values will be returned:

     0  (EXIT_SUCCESS)
             Successful program execution.

     1  (EXIT_FAILURE)
             The operation failed or the command syntax was not valid.

     70  (EX_SOFTWARE)
             libopts had an internal operational error.  Please report it to auto‐
             <gen-users@lists.sourceforge.net>.  Thank you.

## AUTHORS
     Harlan Stenn

## NOTES
     This document corresponds to version 4.2.8p15 of NTP.

     This manual page was _AutoGen_-erated from the **ntp-wait** option definitions.

BSD                              June 23 2020                              BSD
