本文内容摘录自:《Linux 服务器架设指南》 —— 网络时间服务器配置和使用
[root@localhost ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
news.neu.edu.cn .STEP. 16 u - 1024 0 0.000 0.000 0.000
202.118.1.130 .STEP. 16 u - 1024 0 0.000 0.000 0.000
*dns1.synet.edu. 202.118.1.46 2 u 1 128 367 51.290 1.053 11.847
以上命令列出了所有作为时钟源校正过本地NTP服务器时钟的上层NTP服务器的列表,每一列的含义如下所示:
◆ remote: 远程NTP服务器的IP地址或域名,带 “*” 的表示本地NTP服务器与该服务器同步。
◆ refid: 远程NTP服务器的上层服务器的IP地址或域名。
◆ st: 远程NTP服务器所在的层数。
◆ t: 本地NTP服务器与远程NTP服务器的通信方式,u: 单播; b: 广播; l: 本地。
◆ when: 上一次校正时间与现在时间的差值。
◆ poll: 本地NTP服务器查询远程NTP服务器的时间间隔。
◆ reach: 是一种衡量前8次查询是否成功的位掩码值,377表示都成功,0表示不成功。
◆ delay: 网络延时,单位是10的-6次方秒。
◆ offset: 本地NTP服务器与远程NTP服务器的时间偏移。
◆ jitter: 查询偏差的分布值,用于表示远程NTP服务器的网络延时是否稳定,单位为10的-6次方秒。