Chapter 13

Time and synchronization

Updated November 1, 2026

Accurate time on a server matters more than it seems. Log entries line up by it, the scheduler runs by it, TLS certificates are checked against it. If the clock drifts, logs from two machines cannot be correlated, and some secure connections simply will not establish.

Check the current state:

$ timedatectl
               Local time: Mon 2026-06-22 14:03:11 UTC
           Universal time: Mon 2026-06-22 14:03:11 UTC
                 RTC time: Mon 2026-06-22 14:03:11
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

RTC time is the reading of the hardware clock (RTC, real-time clock): a separate battery-backed chip that keeps running while the machine

Locked

The rest of this chapter is part of a paid course

You are reading the open part. Buy the course to read the whole chapter.

See the course