NTP: Difference between revisions

From DWIKI
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:


= Network Time Protocol =
Network Time Protocol
=Links=
*[https://linuxconfig.org/system-clock-vs-hardware-clock-on-linux System Clock vs Hardware Clock on Linux]




Line 29: Line 31:
==Ubuntu 20==
==Ubuntu 20==
timedated and friends: https://ubuntu.com/server/docs/network-ntp
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
  timedatectl status
or
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

Understanding ntpq output

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

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