Manage chrony
The chrony suite is installed by default on Red Hat Enterprise Linux. You can start, stop, and check the status of chronyd.
Procedure
-
Optional: Check if the chrony suite is installed by running the following command as
root:# dnf install chronyThe default location for the chrony daemon is
/usr/sbin/chronyd. The command line utility will be installed to/usr/bin/chronyc. -
To check the status of
chronyd, issue the following command:$ systemctl status chronydchronyd.service - NTP client/server Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled) Active: active (running) since Wed 2013-06-12 22:23:16 CEST; 11h ago -
To start
chronyd, issue the following command asroot:# systemctl start chronydTo ensure
chronydstarts automatically at system start, issue the following command asroot:# systemctl enable chronyd -
To stop
chronyd, issue the following command asroot:# systemctl stop chronydTo prevent
chronydfrom starting automatically at system start, issue the following command asroot:# systemctl disable chronyd