我是靠谱客的博主 暴躁金鱼,最近开发中收集的这篇文章主要介绍ntpdate 同步中国国内时间服务器,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

sudo ntpdate -d cn.ntp.org.cn
22 Mar 10:09:03 ntpdate[12478]: ntpdate 4.2.8p13@1.3847-o Fri Jul 26 07:35:28 UTC 2019 (1)
Looking for host cn.ntp.org.cn and service ntp
host found : 119.29.26.206
transmit(119.29.26.206)
receive(119.29.26.206)
transmit(203.107.6.88)
receive(203.107.6.88)
transmit(114.67.237.130)
receive(114.67.237.130)
transmit(106.75.185.63)
receive(106.75.185.63)
transmit(182.92.12.11)
receive(182.92.12.11)
transmit(58.220.133.132)
receive(58.220.133.132)
transmit(114.67.103.73)
transmit(223.113.97.98)
transmit(140.143.99.185)
receive(140.143.99.185)
transmit(223.65.211.46)
transmit(119.29.26.206)
transmit(36.154.179.82)
receive(119.29.26.206)
receive(36.154.179.82)
transmit(203.107.6.88)
transmit(120.197.116.202)
receive(203.107.6.88)
transmit(114.67.237.130)
transmit(223.113.120.195)
receive(114.67.237.130)
transmit(106.75.185.63)
transmit(111.230.50.201)
receive(111.230.50.201)
receive(106.75.185.63)
transmit(182.92.12.11)
transmit(120.25.108.11)
receive(182.92.12.11)
receive(120.25.108.11)
transmit(58.220.133.132)
transmit(120.25.115.20)
receive(120.25.115.20)
receive(58.220.133.132)
transmit(114.67.103.73)
transmit(223.113.103.191)
transmit(223.113.97.98)
receive(223.113.97.98)
transmit(140.143.99.185)
receive(140.143.99.185)
transmit(223.65.211.46)
transmit(119.29.26.206)
transmit(36.154.179.82)
receive(119.29.26.206)
receive(36.154.179.82)
transmit(203.107.6.88)
transmit(120.197.116.202)
receive(203.107.6.88)
receive(120.197.116.202)
transmit(114.67.237.130)
transmit(223.113.120.195)
receive(114.67.237.130)
transmit(106.75.185.63)
transmit(111.230.50.201)
receive(111.230.50.201)
receive(106.75.185.63)
transmit(182.92.12.11)
transmit(120.25.108.11)
receive(182.92.12.11)
receive(120.25.108.11)
transmit(58.220.133.132)
transmit(120.25.115.20)
receive(120.25.115.20)
receive(58.220.133.132)
transmit(114.67.103.73)
transmit(223.113.103.191)
transmit(223.113.97.98)
transmit(140.143.99.185)
receive(140.143.99.185)
transmit(223.65.211.46)
transmit(119.29.26.206)
transmit(36.154.179.82)
receive(119.29.26.206)
receive(36.154.179.82)
transmit(203.107.6.88)
transmit(120.197.116.202)
receive(203.107.6.88)
receive(120.197.116.202)
transmit(114.67.237.130)
transmit(223.113.120.195)
receive(114.67.237.130)
receive(223.113.120.195)
transmit(106.75.185.63)
transmit(111.230.50.201)
receive(111.230.50.201)
receive(106.75.185.63)
transmit(182.92.12.11)
transmit(120.25.108.11)
receive(120.25.108.11)
receive(182.92.12.11)
transmit(58.220.133.132)
transmit(120.25.115.20)
receive(120.25.115.20)
receive(58.220.133.132)
transmit(114.67.103.73)
transmit(223.113.103.191)
receive(223.113.103.191)
transmit(223.113.97.98)
transmit(140.143.99.185)
receive(140.143.99.185)
transmit(223.65.211.46)
transmit(36.154.179.82)
receive(36.154.179.82)
transmit(120.197.116.202)
receive(120.197.116.202)
transmit(223.113.120.195)
receive(223.113.120.195)
transmit(111.230.50.201)
receive(111.230.50.201)
transmit(120.25.108.11)
receive(120.25.108.11)
transmit(120.25.115.20)
receive(120.25.115.20)
transmit(223.113.103.191)
receive(223.113.103.191)
114.67.103.73: Server dropped: no data
223.65.211.46: Server dropped: no data

server 119.29.26.206, port 123
stratum 3, precision -21, leap 00, trust 000
refid [169.254.0.2], root delay 0.000900, root dispersion 0.060898
reference time:      e40276d6.6c961d48  Mon, Mar 22 2021  9:52:22.424
originate timestamp: e4027ac6.2894ed0b  Mon, Mar 22 2021 10:09:10.158
transmit timestamp:  e4027ac6.26aa7f81  Mon, Mar 22 2021 10:09:10.151
filter delay:  0.04181    0.04277    0.04073    0.04179   
               ----       ----       ----       ----      
filter offset: -0.000367  -0.001043  -0.000144  -0.000633 
               ----       ----       ----       ----      
delay 0.04073, dispersion 0.00040, offset -0.000144

server 203.107.6.88, port 123
stratum 2, precision -25, leap 00, trust 000
refid [100.107.25.114], root delay 0.017410, root dispersion 0.001068
reference time:      e4027a8b.1e53a9c6  Mon, Mar 22 2021 10:08:11.118
originate timestamp: e4027ac6.5fdf5e7d  Mon, Mar 22 2021 10:09:10.374
transmit timestamp:  e4027ac6.59ddefed  Mon, Mar 22 2021 10:09:10.351
filter delay:  0.06482    0.06381    0.06374    0.06375   
               ----       ----       ----       ----      
filter offset: 0.003995   0.004572   0.004398   0.004385  
               ----       ----       ----       ----      
delay 0.06374, dispersion 0.00008, offset 0.004398

server 114.67.237.130, port 123
stratum 2, precision -24, leap 00, trust 000
refid [114.118.7.161], root delay 0.003876, root dispersion 0.007843
reference time:      e40279ed.67c5f79a  Mon, Mar 22 2021 10:05:33.405
originate timestamp: e4027ac6.904461eb  Mon, Mar 22 2021 10:09:10.563
transmit timestamp:  e4027ac6.8d12ed90  Mon, Mar 22 2021 10:09:10.551
filter delay:  0.05385    0.05382    0.05580    0.05373   
               ----       ----       ----       ----      
filter offset: -0.001230  -0.001562  -0.002524  -0.001591 
               ----       ----       ----       ----      
delay 0.05373, dispersion 0.00021, offset -0.001591

server 106.75.185.63, port 123
stratum 2, precision -25, leap 00, trust 000
refid [114.118.7.161], root delay 0.035568, root dispersion 0.001892
reference time:      e402780b.c4a95a16  Mon, Mar 22 2021  9:57:31.768
originate timestamp: e4027ac6.c201d173  Mon, Mar 22 2021 10:09:10.757
transmit timestamp:  e4027ac6.c04417ea  Mon, Mar 22 2021 10:09:10.751
filter delay:  0.04274    0.04277    0.04276    0.04274   
               ----       ----       ----       ----      
filter offset: -0.001396  -0.001608  -0.001522  -0.001772 
               ----       ----       ----       ----      
delay 0.04274, dispersion 0.00023, offset -0.001396

server 182.92.12.11, port 123
stratum 2, precision -24, leap 00, trust 000
refid [10.137.38.86], root delay 0.000122, root dispersion 0.000504
reference time:      e4027aa4.50a8daaa  Mon, Mar 22 2021 10:08:36.315
originate timestamp: e4027ac6.f77cf83d  Mon, Mar 22 2021 10:09:10.966
transmit timestamp:  e4027ac6.f377707e  Mon, Mar 22 2021 10:09:10.951
filter delay:  0.05574    0.05585    0.05573    0.05573   
               ----       ----       ----       ----      
filter offset: 0.000748   0.000149   0.000707   0.000631  
               ----       ----       ----       ----      
delay 0.05573, dispersion 0.00009, offset 0.000707

server 58.220.133.132, port 123
stratum 3, precision -9, leap 00, trust 000
refid [10.137.53.7], root delay 0.038116, root dispersion 0.066315
reference time:      e40271b9.1670cfff  Mon, Mar 22 2021  9:30:33.087
originate timestamp: e4027ac7.2a865fff  Mon, Mar 22 2021 10:09:11.166
transmit timestamp:  e4027ac7.26a9f667  Mon, Mar 22 2021 10:09:11.151
filter delay:  0.05179    0.05373    0.05173    0.05170   
               ----       ----       ----       ----      
filter offset: 0.002484   0.001357   0.002659   0.003007  
               ----       ----       ----       ----      
delay 0.05170, dispersion 0.00049, offset 0.003007

server 223.113.97.98, port 123
stratum 3, precision -9, leap 00, trust 000
refid [10.137.53.7], root delay 0.041992, root dispersion 0.066727
reference time:      e40277e9.01355fff  Mon, Mar 22 2021  9:56:57.004
originate timestamp: e4027ac3.936177ff  Mon, Mar 22 2021 10:09:07.575
transmit timestamp:  e4027ac7.8d1120cb  Mon, Mar 22 2021 10:09:11.551
filter delay:  0.00000    0.06070    0.00000    0.00000   
               ----       ----       ----       ----      
filter offset: 0.000000   0.008083   0.000000   0.000000  
               ----       ----       ----       ----      
delay 0.06070, dispersion 56.00000, offset 0.008083

server 140.143.99.185, port 123
stratum 3, precision -21, leap 00, trust 000
refid [169.254.0.2], root delay 0.035843, root dispersion 0.042816
reference time:      e402791e.72a155e0  Mon, Mar 22 2021 10:02:06.447
originate timestamp: e4027ac7.c39dd8b6  Mon, Mar 22 2021 10:09:11.764
transmit timestamp:  e4027ac7.c0443752  Mon, Mar 22 2021 10:09:11.751
filter delay:  0.05376    0.05376    0.05772    0.05272   
               ----       ----       ----       ----      
filter offset: -0.000736  -0.000949  -0.003152  -0.000480 
               ----       ----       ----       ----      
delay 0.05272, dispersion 0.00061, offset -0.000480

server 36.154.179.82, port 123
stratum 4, precision -23, leap 00, trust 000
refid [52.231.114.183], root delay 0.141479, root dispersion 3.824112
reference time:      e4027a9e.d78706ef  Mon, Mar 22 2021 10:08:30.841
originate timestamp: e4027ac8.27a7d241  Mon, Mar 22 2021 10:09:12.154
transmit timestamp:  e4027ac8.26a98b61  Mon, Mar 22 2021 10:09:12.151
filter delay:  0.06581    0.06470    0.06573    0.06474   
               ----       ----       ----       ----      
filter offset: -0.015727  -0.015532  -0.015955  -0.015686 
               ----       ----       ----       ----      
delay 0.06470, dispersion 0.00020, offset -0.015532

server 120.197.116.202, port 123
stratum 1, precision -19, leap 00, trust 000
refid [DCLS], root delay 0.000000, root dispersion 0.001785
reference time:      e4027a92.b42fe971  Mon, Mar 22 2021 10:08:18.703
originate timestamp: e4027ac8.6307b1e5  Mon, Mar 22 2021 10:09:12.386
transmit timestamp:  e4027ac8.59dd427b  Mon, Mar 22 2021 10:09:12.351
filter delay:  0.00000    0.10265    0.09454    0.10764   
               ----       ----       ----       ----      
filter offset: 0.000000   -0.015646  -0.019109  -0.005302 
               ----       ----       ----       ----      
delay 0.09454, dispersion 8.00517, offset -0.019109

server 223.113.120.195, port 123
stratum 3, precision -9, leap 00, trust 000
refid [10.137.53.7], root delay 0.035233, root dispersion 0.039948
reference time:      e40279e7.14b1ffff  Mon, Mar 22 2021 10:05:27.080
originate timestamp: e4027ac8.95246fff  Mon, Mar 22 2021 10:09:12.582
transmit timestamp:  e4027ac8.8d110e1f  Mon, Mar 22 2021 10:09:12.551
filter delay:  0.00000    0.00000    0.06757    0.06767   
               ----       ----       ----       ----      
filter offset: 0.000000   0.000000   0.011252   0.011477  
               ----       ----       ----       ----      
delay 0.06757, dispersion 24.00011, offset 0.011252

server 111.230.50.201, port 123
stratum 3, precision -21, leap 00, trust 000
refid [169.254.0.79], root delay 0.002197, root dispersion 0.046677
reference time:      e4027715.f8ee5323  Mon, Mar 22 2021  9:53:25.972
originate timestamp: e4027ac8.c21c5d71  Mon, Mar 22 2021 10:09:12.758
transmit timestamp:  e4027ac8.c044523f  Mon, Mar 22 2021 10:09:12.751
filter delay:  0.04268    0.04175    0.04065    0.04178   
               ----       ----       ----       ----      
filter offset: -0.001439  -0.000906  -0.001057  -0.000905 
               ----       ----       ----       ----      
delay 0.04065, dispersion 0.00015, offset -0.001057

server 120.25.108.11, port 123
stratum 2, precision -24, leap 00, trust 000
refid [10.137.53.7], root delay 0.000122, root dispersion 0.001053
reference time:      e4027aae.89b159ea  Mon, Mar 22 2021 10:08:46.537
originate timestamp: e4027ac8.f5f4bf88  Mon, Mar 22 2021 10:09:12.960
transmit timestamp:  e4027ac8.f3777705  Mon, Mar 22 2021 10:09:12.951
filter delay:  0.04585    0.04477    0.04466    0.04657   
               ----       ----       ----       ----      
filter offset: -0.001376  -0.000962  -0.001249  -0.000877 
               ----       ----       ----       ----      
delay 0.04466, dispersion 0.00021, offset -0.001249

server 120.25.115.20, port 123
stratum 2, precision -25, leap 00, trust 000
refid [10.137.53.7], root delay 0.000122, root dispersion 0.001038
reference time:      e4027aae.1ad78cd5  Mon, Mar 22 2021 10:08:46.104
originate timestamp: e4027ac9.29471a35  Mon, Mar 22 2021 10:09:13.161
transmit timestamp:  e4027ac9.26aacd1e  Mon, Mar 22 2021 10:09:13.151
filter delay:  0.04677    0.04674    0.04671    0.04773   
               ----       ----       ----       ----      
filter offset: -0.000929  -0.001086  -0.000922  -0.000886 
               ----       ----       ----       ----      
delay 0.04671, dispersion 0.00008, offset -0.000922

server 223.113.103.191, port 123
stratum 3, precision -23, leap 00, trust 000
refid [120.25.115.20], root delay 0.029968, root dispersion 0.478409
reference time:      e402595f.887a8bb7  Mon, Mar 22 2021  7:46:39.533
originate timestamp: e4027ac9.5c72df1a  Mon, Mar 22 2021 10:09:13.361
transmit timestamp:  e4027ac9.59ddc986  Mon, Mar 22 2021 10:09:13.351
filter delay:  0.00000    0.00000    0.06071    0.06152   
               ----       ----       ----       ----      
filter offset: 0.000000   0.000000   -0.007275  -0.007888 
               ----       ----       ----       ----      
delay 0.06071, dispersion 24.00031, offset -0.007275

22 Mar 10:09:13 ntpdate[12478]: adjust time server 120.25.115.20 offset -0.000922 sec

自动化脚本可以去掉-d选项,去掉调试信息,直接采用

 sudo ntpdate  cn.ntp.org.cn

 

最后

以上就是暴躁金鱼为你收集整理的ntpdate 同步中国国内时间服务器的全部内容,希望文章能够帮你解决ntpdate 同步中国国内时间服务器所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(66)

评论列表共有 0 条评论

立即
投稿
返回
顶部