ntp-wait

ntp-wait

 ntp-wait [-v] [-f] [-n   num_tries   ] [-s   time   ] 

Description

A Perl script that reports whether the local ntpd has synchronized yet. Returns 0 if synchronized; 1 if not.

Options/Usage


-f

Causes ntp-wait to return 1 if an indeterminate result is received from ntpd ; otherwise , ntp-wait returns 0.


-n

Specifies the number of times to try for a successful result before quitting. Defaults to 1000 .


-s

Specifies the number of seconds between tries . Defaults to 6 .


-v

Enables verbose output to standard output.

Location

/usr/bin



Mac OS X Panther for Unix Geeks
Mac OS X Panther for Unix Geeks
ISBN: 0596006071
EAN: 2147483647
Year: 2003
Pages: 212

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net