root@client:~# systemctl status systemd-timesyncd
* systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; ve>
Active: active (running) since Mon 2020-04-27 01:20:36 UTC; 2min 6s ago
Docs: man:systemd-timesyncd.service(8)
Main PID: 662 (systemd-timesyn)
Status: "Initial synchronization to time server 91.189.94.4:123 (ntp.ubunt>
Tasks: 2 (limit: 4621)
Memory: 1.5M
CGroup: /system.slice/systemd-timesyncd.service
+- 662 /lib/systemd/systemd-timesyncd
root@client:~# vi /etc/systemd/timesyncd.conf
# add to the end : set NTP server for your timezone
NTP=vn.pool.ntp.org
RootDistanceMaxSec=50
root@client:~# systemctl restart systemd-timesyncd
root@client:~# timedatectl timesync-status
Server: 10.0.0.30 (dlp.srv.world)
Poll interval: 1min 4s (min: 32s; max 34min 8s)
Leap: normal
Version: 4
Stratum: 2
Reference: 3DCD7882
Precision: 1us (-25)
Root distance: 7.964ms (max: 5s)
Offset: +6.050ms
Delay: 412us
Jitter: 0
Packet count: 1
Frequency: +92.800ppm
Comments
Post a Comment