NTP_WAIT(8)
π NTP_WAIT β bestie edition π
okay so this is NTP_WAIT(8), a System Manager's Manual page, and it's literally about the one thing every server girlie needs: waiting for the clock to chill out. let's get into it π«Ά
β¨ 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. no positional args allowed, periodt. π
π¦ DESCRIPTION π¦
so here's the vibe: ntp-wait sends at most num-tries queries over to ntpd(8), and after every single status return that says ntpd(8) has not yet produced a synchronized and stable system clock, it sleeps for secs-between-tries and tries again. it's giving "are we there yet" but make it daemon. π
and it does all of this quietly β no yapping β unless you hand it the -v flag. π
why would you even want this? bestie, boot time. you can use it at boot time to delay the boot sequence until after ntpd -g has set the time. it's the "wait for the glow-up to finish before you walk in" of init scripts. iconic. π
π OPTIONS π
-nnumber,--tries=numberβ how many times we go check onntpd. this option takes an integer 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. that's the whole thing. 100 chances, no more. π
-ssecs-between-tries,--sleep=secs-between-triesβ how long we nap between tries. this option takes an integer 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". it's a lil power nap between vibe checks. π΄β¨
-v,--verboseβ be verbose. π£οΈ
by default, ntp-wait is silent. with this option, ntp-wait will provide status information. so if you're nosy (respectfully), this is your flag.
-?,--helpβ display usage information and exit. the "explain urself" button. π-!,--more-helpβ pass the extended usage information through a pager. for when the short version wasn't enough and you need the full lore drop. π-v [{v|c|n --version [{v|c|n}]}]β output version of program and exit. the default mode isv, a simple version. thecmode will print copyright information andnwill print the full copyright notice. yes,-vis doing double duty on this page β verbose in one spot, version in the other. she contains multitudes. π
π₯ EXIT STATUS π₯
one of the following exit values will be returned:
0(EXIT_SUCCESS) β successful program execution. ate. β1(EXIT_FAILURE) β the operation failed or the command syntax was not valid. π©70(EX_SOFTWARE) βliboptshad an internal operational error. please report it toautogen-users@lists.sourceforge.net. thank you. π
π AUTHORS π
Harlan Stenn
π NOTES π
- this document corresponds to version
4.2.8p15of NTP. - this manual page was AutoGen-erated from the
ntp-waitoption definitions.
and that's the page!! shoutout to Debian, June 23 2020, and the System Manager's Manual for bringing us this absolute banger. go forth and wait for your clock, bestie β she'll stabilize eventually. π§β¨π
π¦ where this page comes from
- ubuntu jammy: ntp 1:4.2.8p15+dfsg-1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms