chronyd是一个时间同步服务程序css
当前操做系统版本:
html
[ ]Red Hat Enterprise Linux Server release 7.7 (Maipo)
它的配置文件是:nginx
/etc/chrony.conf
时间服务器采用:阿里云NTP服务器ruby
https://www.alibabacloud.com/help/zh/doc-detail/92704.htm
# Use public servers from the pool.ntp.org project.# Please consider joining the pool (http://www.pool.ntp.org/join.html).server ntp1.aliyun.com iburstserver ntp2.aliyun.com iburstserver ntp3.aliyun.com iburstserver ntp4.aliyun.com iburst
服务没有启动时同步时间
服务器
chronyc tracking
[ ]506 Cannot talk to daemon
服务启动后同步时间
微信
同步命令app
chronyc tracking
[root@localhost ~]# chronyc trackingReference ID : CB6B0658 (203.107.6.88)Stratum : 3Ref time (UTC) : Fri Feb 14 14:18:46 2020System time : 0.000002380 seconds fast of NTP timeLast offset : -0.001657576 secondsRMS offset : 0.001657576 secondsFrequency : 0.000 ppm slowResidual freq : -47.654 ppmSkew : 1000000.000 ppmRoot delay : 0.030800328 secondsRoot dispersion : 11.289466858 secondsUpdate interval : 2.1 secondsLeap status : Normal
本文分享自微信公众号 - 云服务圈(heidcloud)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。ide