系统是ubuntu18.04
代码: 全选
root@xxxx:/etc# ntpq -pn
remote refid st t when poll reach delay offset jitter
==============================================================================
192.168.4.116 52.231.114.183 4 u 53 64 3 1.676 1265241 1.006
代码: 全选
root@xxxx:/etc# cat ntp.conf
driftfile /var/lib/ntp/ntp.drift
leapfile /usr/share/zoneinfo/leap-seconds.list
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
server 192.168.4.116