adjtimexconfig(8)

adjtimexconfig8

Find kernel clock variables and save for reboots

Usage

/usr/sbin/adjtimexconfig

Overview

This script uses adjtimex(8) to find values for the kernel variables tick and frequency that will make the system clock approximately agree with the CMOS clock. It then saves these values in the configuration file /etc/default/adjtimex so the settings will be restored on every boot, when /etc/init.d/adjtimex, or systemd adjtimex.service, runs.

adjtimexconfig uses the drift rate recorded in /etc/adjtime to adjust the times it reads from the CMOS clock. If you find the CMOS clock has a systematic drift, read the clock(8) or hwclock(8) manual page, modify /etc/adjtime as required, and run adjtimexconfig again.

Files

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

Releases

16 releases since Debian 1.3 (Bo); the text changed 5 times.

  1. 1.3
  2. 2.0–2.1
  3. 2.2
  4. 3.0
  5. 3.1–8
  6. 9–13

Author

Michael Meskes <[email protected]>.

From adjtimex 1.29-12 in Debian 13 (Trixie). Parsed by carta from the page's man source.