NTP: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Network Time Protocol | |||
=Links= | |||
*[https://linuxconfig.org/system-clock-vs-hardware-clock-on-linux System Clock vs Hardware Clock on Linux] | |||
Line 27: | Line 29: | ||
==Centos 8== | ==Centos 8== | ||
[[chronyd]] | [[chronyd]] | ||
==Ubuntu 20== | |||
timedated and friends: https://ubuntu.com/server/docs/network-ntp | |||
=HOWTO= | |||
==Check ntp server== | |||
ntpdate -q ntp.server.name | |||
=FAQ= | =FAQ= | ||
==ntpd off by 10 minutes== | |||
try | |||
ntpdate -b | |||
===ntpdate[26875]: no servers can be used, exiting=== | |||
something is wrong :) | |||
==systemd ntp equivalent== | ==systemd ntp equivalent== | ||
timedatectl status | |||
or | |||
systemctl status systemd-timesyncd.service | systemctl status systemd-timesyncd.service |
Latest revision as of 13:16, 19 August 2024
Network Time Protocol
Links
Software
ntpd
ntpq
Query status:
ntpq -p
Jitter: variance in latency on the network Offset: time difference between the peers or between the server and client
Which one on which OS
Centos 8
Ubuntu 20
timedated and friends: https://ubuntu.com/server/docs/network-ntp
HOWTO
Check ntp server
ntpdate -q ntp.server.name
FAQ
ntpd off by 10 minutes
try
ntpdate -b
ntpdate[26875]: no servers can be used, exiting
something is wrong :)
systemd ntp equivalent
timedatectl status
or
systemctl status systemd-timesyncd.service