小编Ore*_*pls的帖子

强制 chrony 时间检查

语境:

  • Centos 7.0

  • chronyc (chrony) 3.1 版 (+READLINE +IPV6 +DEBUG)


问题

我想找到一种方法来强制 chronyd 立即更改硬件时钟而无需等待。

该程序chronyd目前正在我的机器上运行:

[root@localhost ~]# ps -ef | grep chronyd
   chrony     599     1  0 21:59 ?        00:00:00 /usr/sbin/chronyd
   root      6710  4779  0 22:31 pts/0    00:00:00 grep --color=auto chron
Run Code Online (Sandbox Code Playgroud)

chronyd实际上在文件中是这样配置的/etc/chrony.conf

   # Record the rate at which the system clock gains/losses time.
   driftfile /var/lib/chrony/drift

   # Allow the system clock to be stepped in the first three updates
   # if its offset is larger …
Run Code Online (Sandbox Code Playgroud)

clock-synchronization centos7 chrony

6
推荐指数
1
解决办法
4万
查看次数

标签 统计

centos7 ×1

chrony ×1

clock-synchronization ×1