我在 LAN 上有 4 台计算机,如果可能的话,它们的系统时钟需要在 ms 左右的时间内紧密同步。我刚刚在 LAN 上安装了基于 GPS 的时间服务器 (ESE-104A)。此时 LAN 已连接到路由器和互联网,但路由器在运行时不会连接到互联网。
在操作中,当机器、NTP 服务器和路由器通电时,整个系统将启动。
如何将 Ubuntu 设置为每隔几分钟同步一次并计算周期应该是多少?
我如何知道安顿下来需要多长时间以及时间保持的质量如何?
我找到了一个参考,大概是 2000 年左右,它表明 hwclock 应该只在关闭时与系统时间同步。我应该这样做吗?
我应该保留哪些日志文件?
这是“ntpq -
remote refid st t when poll reach delay offset jitter
*nts .M-@M-(^AM-R. 1 u 29 128 377 38.912 -7.739 7.195
Run Code Online (Sandbox Code Playgroud)
这是我的 ntp.conf (我只使用 IPv4)
driftfile /etc/ntp.drift
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.1.210
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
restrict 127.0.0.1
restrict ::1
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2307 次 |
| 最近记录: |