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.
[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.
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24237320/viewspace-2133342/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24237320/viewspace-2133342/