ntp

yum install ntp
vim /etc/ntp.conf
server ntp.aliyun.com iburst

systemctl restart/enable ntpd
ntpq -p
remote:即NTP主机的IP或主机名称。注意最左边的符号,如果由“*”则代表目前正在作用钟的上层NTP,如果是“+”则表示也有连上线,不过是作为次要联机的NTP主机。
refid:参考的上一层NTP主机的地址
st:即stratum阶层
when:几秒前曾做过时间同步更新的操作
poll:下次更新在几秒之后
reach:已经向上层NTP服务器要求更新的次数
delay:网络传输过程钟延迟的时间
offset:时间补偿的结果
jitter:Linux系统时间与BIOS硬件时间的差异时间

手动校正
systemctl stop ntpd
ntpdate ntp.myhuaweicloud.com
posted @ 2020-04-24 11:12  kylingx  阅读(218)  评论(0编辑  收藏  举报