---
name: "adjtimexconfig"
section: "8"
platform: "linux"
package: "adjtimex"
version: "1.29-12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/adjtimexconfig"
---

# adjtimexconfig(8)

find kernel clock variables and save for reboots

## NAME

adjtimexconfig - find kernel clock variables and save for reboots

## SYNOPSIS

**/usr/sbin/adjtimexconfig**

## DESCRIPTION

This script uses [**adjtimex**(8)](/adjtimex/8.md) 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)](/clock/8.md) or [**hwclock**(8)](/hwclock/8.md) manual page, modify */etc/adjtime* as required, and run **adjtimexconfig** again.

## AUTHOR

Michael Meskes \<meskes@debian.org\>.

## FILES

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

## SEE ALSO

[**adjtimex**(8)](/adjtimex/8.md), [**clock**(8)](/clock/8.md), [**hwclock**(8)](/hwclock/8.md), [**ntpd**(8)](/ntpd/8.md)
