1. 查看 chrony 服务状态:systemctl status chronyd

  2. 查看当前系统时间和 chrony 同步的时间:chronyc tracking

  3. 查看 chrony 的源服务器列表:chronyc sources

  4. 手动强制时间同步:chronyc makestep

如果以上命令都没有报错,且同步的时间和实际时间相差不大,则说明同步没问题。

CentOS 7 时间同步:chrony 设置与问题排查

原文地址: https://www.cveoy.top/t/topic/m9V7 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录