NTP: Difference between revisions
From DWIKI
mNo edit summary |
mNo edit summary |
||
(7 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 8: | Line 11: | ||
=== ntpd === | === ntpd === | ||
=== ntpq === | === ntpq === | ||
[https://detailed.wordpress.com/2017/10/22/understanding-ntpq-output/ Understanding ntpq output] | |||
Query status: | Query status: | ||
ntpq -p | 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== | |||
[[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