June 2004
Intermediate to advanced
1056 pages
39h 58m
English
ntp-wait
ntp-wait [-v] [-f] [-nnum_tries] [-stime]
A Perl script that reports whether the local ntpd
has synchronized yet. Returns 0 if synchronized, 1 if not.
-f
Cause ntp-wait
to return 1 if
an indeterminate result is received from ntpd;
otherwise, ntp-wait returns 0.
-n
Specify the number of times to try for a successful result before
quitting. Defaults to 1000.
-s
Specify the number of seconds between tries. Defaults to
6.
-v
Enable verbose output to standard output.
Read now
Unlock full access