NTP: Difference between revisions
From DWIKI
m (New page: = Network Time Protocol = ==Software== ===ntpd=== ===ntpq=== ntpq -p) |
mNo edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Software== | Network Time Protocol | ||
===ntpd=== | =Links= | ||
*[https://linuxconfig.org/system-clock-vs-hardware-clock-on-linux System Clock vs Hardware Clock on Linux] | |||
== Software == | |||
=== ntpd === | |||
=== ntpq === | |||
[https://detailed.wordpress.com/2017/10/22/understanding-ntpq-output/ Understanding ntpq output] | |||
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= | |||
==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 |
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