diff --git a/HowtoNTP.md b/HowtoNTP.md index 4c1a34ba..58d2b959 100644 --- a/HowtoNTP.md +++ b/HowtoNTP.md @@ -173,6 +173,30 @@ synchronised to NTP server (163.172.177.158) at stratum 4 polling server every 64 s ~~~ +### timedatectl + +La commande _timedatectl_ (qui fait partie de [systemd](HowtoSystemd)) donne une vue d'ensemble des paramètres d'horloge d'un système : + +~~~ +$ timedatectl + Local time: Wed 2017-05-31 12:53:11 CEST + Universal time: Wed 2017-05-31 10:53:11 UTC + RTC time: Wed 2017-05-31 10:53:10 + Time zone: Europe/Paris (CEST, +0200) + NTP enabled: no +NTP synchronized: yes + RTC in local TZ: no + DST active: yes + Last DST change: DST began at + Sun 2017-03-26 01:59:59 CET + Sun 2017-03-26 03:00:00 CEST + Next DST change: DST ends (the clock jumps one hour backwards) at + Sun 2017-10-29 02:59:59 CEST + Sun 2017-10-29 02:00:00 CET +~~~ + +On peut également activer la synchronisation NTP directement avec [systemd](HowtoSystemd) via le fichier `/etc/systemd/timesyncd.conf` mais nous conseillons d'éviter sur un serveur. + ## Munin