千家信息网

Linux ntpdate slew模式调整时间是怎么样的

发表于:2024-10-02 作者:千家信息网编辑
千家信息网最后更新 2024年10月02日,本篇文章为大家展示了Linux ntpdate slew模式调整时间是怎么样的,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。ntpdate slew模式微调时
千家信息网最后更新 2024年10月02日Linux ntpdate slew模式调整时间是怎么样的

本篇文章为大家展示了Linux ntpdate slew模式调整时间是怎么样的,内容简明扼要并且容易理解,绝对能使你眼前一亮,通过这篇文章的详细介绍希望你能有所收获。

ntpdate slew模式微调时间crontab,参考

[hostname]# crontab -l
* * * * * /usr/sbin/ntpdate -B xxx.xxx.xxx.xxx 1>>/tmp/ntpdate.log 2>&1 -B参数的意思 Force the time to always be slewed using the adjtime() system call, even if the measured
offset is greater than +-500 ms. The default is to step the time using settimeofday() if
the offset is greater than +-500 ms. Note that, if the offset is much greater than +-500
ms in this case, that it can take a long time (hours) to slew the clock to the correct
value. During this time. the host should not be used to synchronize clients.

上述内容就是Linux ntpdate slew模式调整时间是怎么样的,你们学到知识或技能了吗?如果还想学到更多技能或者丰富自己的知识储备,欢迎关注行业资讯频道。

0