Run the following command to determine the current status of the
chronyd
service:
$ sudo systemctl is-active chronyd
If the service is running, it should return the following: active
Note: The chronyd
daemon is enabled by default.
Run the following command to determine the current status of the
ntpd
service:
$ sudo systemctl is-active ntpd
If the service is running, it should return the following: active
Note: The ntpd
daemon is not enabled by default. Though as mentioned
in the previous sections in certain environments the ntpd
daemon might
be preferred to be used rather than the chronyd
one. Refer to:
https://docs.oracle.com/en/operating-systems/oracle-linux/7/network/ol7-nettime.html
for guidance which NTP daemon to choose depending on the environment used.