systemctl status chronyd
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2021-04-13 15:11:07 CEST; 1h ago
Docs: man:chronyd(8)
man:chrony.conf(5)
Main PID: 12282 (chronyd)
The service must be :
- active
- since
not too long ago
(read below)
if
chrony is installed by
Ansible and defined as
service must be started
:
- if it was ALREADY installed + started for ages (because part of a default install)
- Ansible will leave it as-is, and won't load its new configuration
This step will output :
● chronyd.service - NTP client/server
Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-03-26 08:57:07 CET; 2 weeks 4 days ago
Docs: man:chronyd(8)
man:chrony.conf(5)
Main PID: 6087 (chronyd)
... meaning the latest changes made to
chrony.conf by
Ansible have not been loaded yet.
chronyc sources -v
210 Number of sources = 2
.-- Source mode '^' = server, '=' = peer, '#' = local clock.
/ .- Source state '*' = current synced, '+' = combined , '-' = not combined,
| / '?' = unreachable, 'x' = time may be in error, '~' = time too variable.
|| .- xxxx [ yyyy ] +/- zzzz
|| Reachability register (octal) -. | xxxx = adjusted offset,
|| Log2(Polling interval) --. | | yyyy = measured offset,
|| \ | | zzzz = estimated error.
|| | | \
MS Name/IP address Stratum Poll Reach LastRx Last sample
===============================================================================
^* ntp1.example.com 5 6 377 47 +24ms[ +24ms] +/- 136ms
^+ ntp2.example.com 4 9 377 91 -27ms[ -26ms] +/- 214ms
chronyc tracking
Reference ID : 0A1B1981 (ntp1.example.com)
Stratum : 6
Ref time (UTC) : Wed Apr 14 07:05:17 2021
System time : 0.002320022 seconds fast of NTP time
Last offset : +0.000871681 seconds
RMS offset : 0.002877922 seconds
Frequency : 24.251 ppm slow
Residual freq : +0.247 ppm
Skew : 6.148 ppm
Root delay : 0.063965246 seconds
Root dispersion : 0.105693020 seconds
Update interval : 64.7 seconds
Leap status : Normal