Time Synchronization

Inhaltsverzeichnis

1.0 Konfiguration

Löste vor 'ner Weile den historischen ntp, das Network Time Protocol, ab.

1.1 Beispiel

reiner@debian:˜$ systemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
     Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enab>
     Active: active (running) since Wed 2022-12-14 08:21:52 CET; 40min ago
       Docs: man:systemd-timesyncd.service(8)
   Main PID: 850 (systemd-timesyn)
     Status: "Initial synchronization to time server 94.130.35.4:123 (2.debian.pool.ntp.org)."
      Tasks: 2 (limit: 37724)
     Memory: 1.3M
        CPU: 90ms
     CGroup: /system.slice/systemd-timesyncd.service
             └─850 /lib/systemd/systemd-timesyncd

Dez 14 08:21:52 nr04 systemd[1]: Starting Network Time Synchronization...
Dez 14 08:21:52 nr04 systemd[1]: Started Network Time Synchronization.
Dez 14 08:22:22 nr04 systemd-timesyncd[850]: Initial synchronization to time server 94.130.35.4:>

1.5 Test

reiner@debian:˜$ timedatectl
               Local time: Mi 2022-12-14 09:03:09 CET
           Universal time: Mi 2022-12-14 08:03:09 UTC
                 RTC time: Mi 2022-12-14 08:03:09
                Time zone: Europe/Berlin (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no