如何测试ntp时间服务器

C:\Documents and Settings\Administrator>w32tm /stripchart /computer:aisa.pool.nt
p.org
Tracking aisa.pool.ntp.org [180.168.41.175].
The current time is 2012-3-7 15:35:23 (local time).
15:35:23 error: 0x80072746
15:35:25 error: 0x800705B4
15:35:28 ^C
C:\Documents and Settings\Administrator>w32tm /stripchart /computer:asia.pool.nt
p.org
Tracking asia.pool.ntp.org [124.41.85.171].
The current time is 2012-3-7 15:35:35 (local time).
15:35:35 d:+00.0939247s o:-00.6407656s  [                         * |
                ]
15:35:38 d:+00.0939243s o:-00.6485124s  [                         * |
                ]
15:35:40 d:+00.1095832s o:-00.6624513s  [                         * |
                ]

 

w32tm /stripchart /computer:asia.pool.ntp.org

反回15:35:23 error: 0x80072746时间服务器不可用
反回15:35:35 d:+00.0939247s o:-00.6407656s  [                         * |                ]

表示时间服务器正常


 

 

你可能感兴趣的:(c,测试,服务器)