Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
伙计们,
我的任务是测量 linux 服务器和“准确”的 NTP/PTP 服务器之间的时钟漂移。
对此有何建议?
谢谢
我最近使用了一种简单的方法来做到这一点。
在要监视漂移的 linux 服务器上,您可以使用单个服务器条目设置 NTP 配置文件到“准确的 NTP/PTP 服务器”,并包括服务器选项noselect。
当您运行 NTP 时,它不会调整时钟,但可以使用例如nptq -pn或查看偏移量-c rl,您可以使用它来确定随时间的漂移。
nptq -pn
-c rl