ADJTIMEXCONFIG(8)

✨ ADJTIMEXCONFIG ✨

okay so bestie, we're in the System Manager's Manual section 8 and this page is all about adjtimexconfig β€” aka the little script that finds your kernel clock variables and saves them for reboots πŸ’–


πŸŽ€ NAME πŸŽ€

adjtimexconfig β€” find kernel clock variables and save for reboots ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

/usr/sbin/adjtimexconfig

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe. This script uses adjtimex(8) to hunt down the values for the kernel variables tick and frequency that will make your system clock approximately agree with the CMOS clock. approximate, bestie, we said what we said πŸ’€

Then it saves those values in the config file /etc/default/adjtimex so the settings get restored on every single boot β€” specifically when /etc/init.d/adjtimex, or the systemd adjtimex.service, runs. main character energy for your boot sequence, fr fr πŸ‘‘

Also, adjtimexconfig uses the drift rate recorded in /etc/adjtime to adjust the times it reads from the CMOS clock. so like, it's not just raw-dogging those reads, it's using the drift info you already gave it 🫢

If you notice your CMOS clock has a systematic drift (ugh, relatable, it's giving unreliable), then go read the clock(8) or hwclock(8) manual page, modify /etc/adjtime as required, and run adjtimexconfig again. rinse and repeat until it slays πŸ’–


🌸 AUTHOR 🌸

Michael Meskes <meskes@debian.org>. thank you king, we owe you one 🫑


πŸ“ FILES πŸ“

  • /etc/default/adjtimex
  • /etc/init.d/adjtimex
  • /lib/systemd/system/adjtimex.service

🌈 SEE ALSO 🌈


and that's the whole page, bestie!! this one came from the System Manager's Manual, dated December 16, 2015 πŸ“… no cap, go sync your clocks and live your truth πŸ’…βœ¨πŸ¦‹