https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_basic_system_settings/configuring-time-synchronization_configuring-basic-system-settings

[user@machine ~]$ cat /etc/chrony.conf # config file
...
pool 2.rhel.pool.ntp.org iburst
...
[user@machine ~]$ sudo systemctl status chronyd -l


[user@machine ~]$ sudo  chronyc makestep # sync muanually
200 OK

[user@machine ~]$  chronyc tracking
Reference ID    : 00000000 ()
Stratum         : 0
Ref time (UTC)  : Thu Jan 01 00:00:00 1970
System time     : 0.000000000 seconds fast of NTP time
Last offset     : +0.000000000 seconds
RMS offset      : 0.000000000 seconds
Frequency       : 6.179 ppm fast
Residual freq   : +0.000 ppm
Skew            : 0.000 ppm
Root delay      : 1.000000000 seconds
Root dispersion : 1.000000000 seconds
Update interval : 0.0 seconds
Leap status     : Not synchronised
[user@machine ~]$ chronyc sources 
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^? 10.43.8.1                     0   8     0     -     +0ns[   +0ns] +/-    0ns       # ^? means source is unreachable.


  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.