ntp-wait(1)
π ntp-wait β the manual page, but make it make sense
hey bestie, welcome to ntp-wait(1) β a User Commands situation, and honestly? it's giving "patient friend waiting for the group chat to settle down." π«Ά
β¨ NAME β¨
ntp-wait β wait for ntpd to stabilize the system clock β°
πΈ SYNOPSIS πΈ
ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]
okay and here's the vibe check on the synopsis: all arguments must be options. that's it. no stray little words, no random filenames, no "oops I typed extra." literally just options, periodt. π
π¦ DESCRIPTION π¦
so here's what's actually happening. ntp-wait sends at most num-tries queries to ntpd(8), and between each one it sleeps for secs-between-tries. it only sleeps after a status return that says ntpd(8) has not yet produced a synchronized and stable system clock. like, it's not out here sleeping for fun β it sleeps because the clock said "not yet, bestie." π
and it does all of this quietly, unless you pass the -v flag. no cap, it's silent by default.
why would you want this? lowkey it's iconic at boot time: use it to delay the boot sequence until after ntpd -g has set the time. π
π OPTIONS π
-n number,--tries=numberβ how many times we're gonna check onntpd. takes an integer number as its argument. default number for this option is:
100
and that's the maximum number of times we will check ntpd to see if it has been able to synchronize and stabilize the system clock. it's giving persistent. π
-s secs-between-tries,--sleep=secs-between-triesβ how long to nap between tries. 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". a little beauty rest, as a treat. π΄
-v,--verboseβ be verbose. by default,ntp-waitis silent. with this option,ntp-waitwill provide status information. she's talking now. π£οΈβ¨-?,--helpβ display usage information and exit.-!,--more-helpβ pass the extended usage information through a pager.-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,-vshows up twice in this list β that's not a typo, that's just how it is, iykyk. π« )
π EXIT STATUS π
one of the following exit values will be returned. memorize these, they're literally your report card:
0(EXIT_SUCCESS) β successful program execution. slay. β¨1(EXIT_FAILURE) β the operation failed or the command syntax was not valid. not slay. π70(EX_SOFTWARE) βliboptshad an internal operational error. please report it toautogen-users@lists.sourceforge.net. thank you.
π₯ AUTHORS π₯
Harlan Stenn β yes, the main character. π
β NOTES β
- this document corresponds to version
4.2.8p18of NTP. - this manual page was AutoGen-erated from the
ntp-waitoption definitions. not hand-written, auto-generated, and honestly that tracks. π§
π no cap: ifntpdisn't stabilizing,ntp-waitwill just keep checking up to number times, snoozing secs-between-tries in between. it's loyal like that.
and that's the whole page! πΈ one last cute lil sign-off: this was ntp version 4.2.8p18, dated 25 May 2024, and it's the ntp-wait(1) page. mwah. ππ
π¦ where this page comes from
- arch rolling: ntp 4.2.8.p18-6 Β· custom
- nixos 26.05: ntp 4.2.8p18
- nixpkgs unstable: ntp 4.2.8p18
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms