使用ntpdate校正linux系统的时间

来源:互联网 发布:linux top 1 2 编辑:程序博客网 时间:2024/05/23 19:11

当Linux服务器的时间不对的时候,可以使用ntpdate工具来校正时间。

安装:yum install ntpdate

ntpdate简单用法:

# ntpdate ip

# ntpdate 210.72.145.44


以下是一些可用的NTP服务器地址:

Name

IPLocation210.72.145.44210.72.145.44中国(国家授时中心)133.100.11.8133.100.11.8日本(福冈大学)time-a.nist.gov129.6.15.28NIST,Gaithersburg,Marylandtime-b.nist.gov129.6.15.29NIST,Gaithersburg,Marylandtime-a.timefreq.bldrdoc.gov132.163.4.101NIST,Boulder,Coloradotime-b.timefreq.bldrdoc.gov132.163.4.102NIST,Boulder,Coloradotime-c.timefreq.bldrdoc.gov132.163.4.103NIST,Boulder,Coloradoutcnist.colorado.edu128.138.140.44UniversityofColorado,Bouldertime.nist.gov192.43.244.18NCAR,Boulder,Coloradotime-nw.nist.gov131.107.1.10Microsoft,Redmond,Washingtonnist1.symmetricom.com69.25.96.13Symmetricom,SanJose,Californianist1-dc.glassey.com216.200.93.8Abovenet,Virginianist1-ny.glassey.com208.184.49.9Abovenet,NewYorkCitynist1-sj.glassey.com207.126.98.204Abovenet,SanJose,Californianist1.aol-ca.truetime.com207.200.81.113TrueTime,AOLfacility,Sunnyvale,Californianist1.aol-va.truetime.com64.236.96.53TrueTime,AOLfacility,Virginia