# CentOS NTP Serversserver 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
# Apple NTP Serversserver time1.apple.com iburst
server time2.apple.com iburst
server time3.apple.com iburst
server time4.apple.com iburst
server time5.apple.com iburst
# Google NTP Serversserver time1.google.com iburst
server time2.google.com iburst
server time3.google.com iburst
server time4.google.com iburst
# Pool.ntp.org NTP Servers (Global)server pool.ntp.org iburst
# China NTP Servers (Local)server cn.pool.ntp.org iburst
# Aliyun NTP Serverspool ntp1.aliyun.com iburst
pool ntp2.aliyun.com iburst
pool time1.aliyun.com iburst
pool time2.aliyun.com iburst
⏰chrony 常用命令
查看当前系统使用的NTP时间源的状态,包括延迟、同步质量等。
1
chronyc sources -v
指示源的状态,*当前同步的源,+其他可接受的源
启动 chrony
1
systemctl start chronyd
重启 chrony
1
systemctl restart chronyd
重新加载 chrony 配置文件
1
systemctl daemon-reload
查看 chrony 时间同步状态
1
timedatectl status
查看 chrony 服务器状态
1
chronyc tracking
System time:表示系统时间与NTP时间的偏差。
RMS offset:表示时间同步的精度。
Update interval:表示时间同步的间隔。