验证ntpd是否正常工作

・1 分钟阅读

验证ntpd是否正常工作

ntpq -p
用于验证网络时间协议守护进程是否正常工作,
示例输出
WORKING EXAMPLE:
 remote refid st t when poll reach delay offset jitter
==============================================================================
+172.30.9.37 10.9.1.8 2 u 877 1024 377 42.050 1.474 6.586
*172.30.9.38 10.9.1.9 2 u 874 1024 377 30.661 -3.775 89.919
Synchronized with *time server
NOT WORKING EXAMPLE:
 remote refid st t when poll reach delay offset jitter
==============================================================================
 172.30.9.37 .INIT. 16 u - 1024 0 0.000 0.000 0.000
 172.30.9.38 .INIT. 16 u - 1024 0 0.000 0.000 0.000
3rd column (stratum) is 16: not synchronizing
Hujiuxiang profile image