欢迎光临
我们一直在努力

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)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。