韩国十大肌肉男排名:ping值是什么东西?

来源:百度文库 编辑:高校问答 时间:2024/05/06 07:02:54

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] destination-list

Options:
-t Ping the specified host until stopped.
To see statistics and continue - type Control-Br
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.

最简单的一句话就是检测网络通与不通。你可以试一下:先进入DOS提示命令行下。然后输入:
ping http://www.sohu.com

ping 一台主机返回的值
如ping 163.com
Pinging 163.com [220.181.29.154] with 32 bytes of data:

Reply from 220.181.29.154: bytes=32 time=301ms TTL=51
Reply from 220.181.29.154: bytes=32 time=359ms TTL=52
Request timed out.
Reply from 220.181.29.154: bytes=32 time=312ms TTL=51

Ping statistics for 220.181.29.154:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 301ms, Maximum = 359ms, Average = 324ms