解释 raspberry pi 上使用的 ntpd 配置
interpret ntpd configuration used on raspberry pi
我对 nptd 程序还是很陌生,所以我的问题应该比较笼统。我知道该程序会慢慢调整设备的时钟频率并通过轮询与服务器时间同步。在下面的结果中,IP 地址前面带* 的是实际时间源,带+ 的是备用时间源。备份具有比实际时间源更好的偏移量。我的问题是,在配置文件中,列出了 4 个服务器。我想知道程序正在与哪个服务器同步?
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
remote refid st t when poll reach delay offset jitter
==============================================================================
+173.255.215.209 80.72.67.48 3 u 60 64 377 30.713 -0.762 2.808
-64.113.44.55 129.6.15.29 2 u 142 64 274 75.356 3.479 0.970
*144.172.126.201 129.7.1.66 2 u 62 64 375 47.863 2.927 0.418
+108.61.56.35 216.218.254.202 2 u 6 64 377 83.564 1.172 1.423
经过一些挖掘,当你 运行 ntpq -pn
它会告诉你设备当前同步到哪个层,用 *
表示。
我对 nptd 程序还是很陌生,所以我的问题应该比较笼统。我知道该程序会慢慢调整设备的时钟频率并通过轮询与服务器时间同步。在下面的结果中,IP 地址前面带* 的是实际时间源,带+ 的是备用时间源。备份具有比实际时间源更好的偏移量。我的问题是,在配置文件中,列出了 4 个服务器。我想知道程序正在与哪个服务器同步?
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
remote refid st t when poll reach delay offset jitter
==============================================================================
+173.255.215.209 80.72.67.48 3 u 60 64 377 30.713 -0.762 2.808
-64.113.44.55 129.6.15.29 2 u 142 64 274 75.356 3.479 0.970
*144.172.126.201 129.7.1.66 2 u 62 64 375 47.863 2.927 0.418
+108.61.56.35 216.218.254.202 2 u 6 64 377 83.564 1.172 1.423
经过一些挖掘,当你 运行 ntpq -pn
它会告诉你设备当前同步到哪个层,用 *
表示。