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)