码迷,mamicode.com
首页 > 其他好文 > 详细

sntp取而代之ntpdate

时间:2014-08-08 16:27:06      阅读:1108      评论:0      收藏:0      [点我收藏+]

标签:network   provided   command   current   

       !!!!!!!!!!!!!!  WARNING !!!!!!!!!!!!!!!!!!


The ntpdate program is deprecated and should not be used any more.  To

quote the upstream ntp developers:(ntpdate程序今后不宜再次使用)

(该函数由ntpd模块提供,如果使用-q参数将会修改当前的时间并且根据相关的值

进行设置)

  "The functionality ntpdate offered is now provided by the ntpd daemon

  itself.  If you call ntpd with the command line option -q it will

  retrieve the current time and set it accordingly."


Please check the Network Time Protocol (NTP) daemon man page and

  http://support.ntp.org/bin/view/Dev/DeprecatingNtpdate

for further information.


You can replace the ntpdate call with "rcntp ntptimeset" to achieve an

inital poll of the servers specified in /etc/ntp.conf.


The program /usr/sbin/sntp offers comparable functionality to ntpdate.

Specifically

  sntp -P no -r pool.ntp.org

is equivalent to

  ntpdate pool.ntp.org

程序/usr/sbin/sntp提供和ntpdate类似的功能

For further details please refer to the man page of sntp.

You have new mail in /var/mail/root


sntp取而代之ntpdate,布布扣,bubuko.com

sntp取而代之ntpdate

标签:network   provided   command   current   

原文地址:http://5228690.blog.51cto.com/5218690/1537354

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!