S6-TAICLOCK(8)
π°οΈ s6-taiclock β client for the TAICLOCK[1] protocol β¨
okay bestie, welcome to the s6-taiclock(8) page (a.k.a. S6-TAICLOCK(8), section 8) β System Manager's Manual energy, but make it cute. This one is literally giving clock-sync main character energy. π
πΈ NAME πΈ
s6-taiclock β client for the TAICLOCK[1] protocol π
β¨ SYNOPSIS β¨
s6-taiclock [-f] [-v verbosity] [-r roundtrips] [-t triptimeout]
[-h throttle] [-T totaltimeout] [-e errmax] [-p port]
ipaddress
π DESCRIPTION π
okay so s6-taiclock connects to a TAICLOCK server, computes an estimated discrepancy between the local clock time and the absolute time given by the server, and outputs it on stdout. no cap, that's the whole vibe. π«Ά
It exchanges TAICLOCK messages with a server such as s6-taiclockd(8) listening on ipaddress, UDP port 4014. ipaddress can be IPv4 or IPv6. π
It computes the mean difference between the absolute time given by the system clock and the one given by the server. π§
It prints the difference to stdout in a format understood by s6-clockadd(8) and s6-clockview(8). It then exits 0. periodt. β¨
π On the usage of NTP vs. TAICLOCK π
TAICLOCK is not as generic or failproof as NTP. It is not as resistant to network latency. It has been designed to broadcast time on a local area network, whereas NTP has been designed to broadcast time over the whole Internet. lowkey important distinction, bestie. π¦
TAICLOCK will produce faster results on a LAN; moreover, the point of TAICLOCK is to broadcast TAI instead of UTC, so it is more accurate around a leap second. iconic behavior tbh. πΈ
The Internet is much more reliable latency-wise today than it was when dialout connections and broken routing protocols were the norm. So it is possible to use TAICLOCK across a WAN if the accuracy expectations are not too strict. iykyk. π«
TAICLOCK is much easier to implement. The s6-sntpclock(8) client binary code (statically linked on a i386) is 50% bigger than the s6-taiclock client. Also, the s6-taiclockd(8) server is extremely small (close to 50% smaller than the client), whereas NTP servers, even SNTP servers, are behemoths requiring a project of their own. not the NTP servers catching strays ππ
π Related work π
The clockspeed[2] package is the original inspiration for the clock management part of s6-networking. Unfortunately, it is unmaintained. π₯²
π OPTIONS π
-fβ Force. Normally,s6-taiclockexits111if it cannot compute a time with a smaller uncertainty thanerrmax. If this option is set, it will output a time difference and exit0even if the error is too big. forceful queen behavior π-v verbosityβ Be more or less verbose. By default,verbosityis1.0means only print fatal error messages;2means print advanced warnings. choose your own adventure, bestie. π₯-r roundtripsβ Performroundtripsexchanges with the server. By default,roundtripsis10. A lower value yields a higher time uncertainty; a higher value puts more load on the server. balance is everything β¨-t triptimeoutβ If a TAICLOCK exchange with the server takes more thantriptimeoutmilliseconds, abort this exchange and move on to the next one. By default,triptimeoutis2000. don't let one slow round trip ruin the vibe π°οΈ-h throttleβ Waitthrottlemilliseconds between exchanges with the server. A lower value gets the final result earlier, but exerts more load on the server. A higher value puts a lighter load on the server, but delays the computation. By default,throttleis0. It is recommended to set it to a reasonable nonzero value when increasingroundtrips. be nice to the server fr fr π«Ά-T totaltimeoutβ If the whole operation takes more thantotaltimeoutmilliseconds, abort and exit1. By default,totaltimeoutis10000. time limit, no exceptions β³-e errmaxβ Accept a maximum time uncertainty oferrmaxmilliseconds. By default,errmaxis100. accuracy check, bestie π―-p portβ Contact a server on portport. By default,portis4014. cute little port number, iconic π
π SEE ALSO π
s6-clockadd(8),s6-clockview(8),s6-sntpclock(8),s6-taiclockd(8)[1]https://cr.yp.to/proto/taiclock.txt[2]https://cr.yp.to/clockspeed.htmlβ This man page is ported from the authoritative documentation at:https://skarnet.org/software/s6-networking/s6-taiclock.html
π AUTHORS π
- Laurent Bercot
Alexis <flexibeast@gmail.com> (man page port)π§
That's the tea, bestie π«Ά β this page's footer says Debian, September 29, 2021, S6-TAICLOCK(8), and now you can go be iconic with your clock. π
β¨
π¦ where this page comes from
- nixpkgs unstable: s6-networking 2.8.0.1
- nixpkgs unstable: s6-networking-man-pages 2.7.2.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms