- C5 o7 G/ d: U( m5 C: S Reply from 192.168.1.21: bytes=32 time<10ms TTL=254 0 R( G Y- C5 |# s
0 D3 Y* t' D: J6 [! J4 h Reply from 192.168.1.21: bytes=32 time<10ms TTL=254 ; C4 j* ~) g3 A' A 2 b I8 |8 M0 s m1 w" _4 f3 c# A: d Reply from 192.168.1.21: bytes=32 time<10ms TTL=254 ) F+ l9 ?, K) O5 j " n3 X/ l* ?9 E$ j Ping statistics for 192.168.1.21: 2 o8 b- T3 M3 o% M* U
`; ?3 S2 Y, r# o' w! } Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),Approximate round trip times in milli-seconds: . D* h, R% M8 y ' _9 U% K/ H" A: S
Minimum = 0ms, Maximum = 0ms, Average = 0ms 8 l% l/ [; J( }9 \
0 u; m1 D& F) U4 q: w" C* r, ~ 从上面就可以知道IP为192.168.1.21的计算机NetBios名为iceblood.yofor.com。 2 U! K: D ~( F- h ' p Q1 L9 \6 b$ N0 a& Q, F4 a
-n count Number of echo requests to send. 5 @1 @+ @, i& h9 B5 k' j 1 I2 ]0 H/ ~5 b2 x) y/ c( s
发送count指定的Echo数据包数。 5 ^! T g% n( h6 u# d6 x4 G: u0 T 8 |3 ]1 ?$ |# Q! H7 s+ _ 在默认情况下,一般都只发送四个数据包,通过这个命令可以自己定义发送的个数,对衡量网络速度很有帮助,比如我想测试发送50个数据包的返回的平均时间为多少,最快时间为多少,最慢时间为多少就可以通过以下获知: D2 v7 F; `8 M Y
; h) e9 ?* y' R" d9 i! |: M Z C:\>ping -n 50 202.103.96.68 7 B, J1 m, m; @0 T. j
/ S: j' `1 J% W6 S3 ^/ Y O& q
Pinging 202.103.96.68 with 32 bytes of data: ( P3 g% w k( o; Z& `; W : L/ Z( v8 S2 a, t4 m2 p0 G Reply from 202.103.96.68: bytes=32 time=50ms TTL=241 % W2 |+ |7 z# G3 g
% u$ E) k* X3 A( j9 C. ?" G0 e7 b Reply from 202.103.96.68: bytes=32 time=50ms TTL=241 ! h. U( p8 h' ] 5 r. g8 O3 W+ b3 R$ A# x Reply from 202.103.96.68: bytes=32 time=50ms TTL=241 ; {$ r$ J( v# \9 Z6 i
$ f* K+ i/ G9 t2 m: a+ J3 R
Request timed out. 4 a; R! e+ [* |% m' x1 y
# ]# E% P! D- m m/ ]9 S ……………… 7 B/ A) W7 {: v8 c
0 `) d( D* N# H2 t
Reply from 202.103.96.68: bytes=32 time=50ms TTL=241 . r! e* l0 c7 V& m4 s/ S % g; u0 r/ O$ _- y9 B
Reply from 202.103.96.68: bytes=32 time=50ms TTL=241 2 w# T5 ~6 B+ R! U; T( l
. O% M3 C; b4 z% D/ L% C; T: n Ping statistics for 202.103.96.68: : V: v5 z, r$ ]- L# H: l# I 1 A2 f4 R3 T E" o1 @
Packets: Sent = 50, Received = 48, Lost = 2 (4% loss),Approximate round trip times in milli-seconds: ! X6 i" j' h% I) M5 V4 G0 Q
; ]) Q9 C7 z- g8 U7 H) L
Minimum = 40ms, Maximum = 51ms, Average = 46ms 9 G4 c0 w" O. Z& E' D* B' ^
2 l( p* k ~: j g1 Z
从以上我就可以知道在给202.103.96.68发送50个数据包的过程当中,返回了48个,其中有两个由于未知原因丢失,这48个数据包当中返回速度最快为40ms,最慢为51ms,平均速度为46ms。 , K! O+ g# m& {% U 1 S# T% Z: l$ k3 L; V/ j -l size Send buffer size. 1 L3 k2 ?: H" Y