科技
怎么用ping命令简单测试网速
发布日期: 2022-04-14 22:07  浏览:139

怎么ping网络速度?

  Ping 在Windows系下是内置的一个可实行命令。利用它可以检查网络是不是可以连通,用好它可以有效地协助大家剖析判断网络问题。运用格式:Ping IP地址。该命令还能够加很多主要参数应用,实际是输入Ping按回车键就可以见到详细描述。

下边,文中就怎样用ping命令简易测试网速。

  命令格式:

  ping ip详细地址 -l 字节数

  注:上边的命令中 l 是字母l,并不是数据1

  网络速度相当于≈(推送的字节数/回到的時间[ms])K字节

  以上测算的結果速为字节(byte),并不是人们通常说的位(bps)

  如:

  C:\Documents and Settings\Administrator>ping 202.101.224.68 -l 1000

  Pinging 202.101.224.68 with 1000 bytes of data:

  Reply from 202.101.224.68: bytes=1000 time=38ms TTL=251

  Reply from 202.101.224.68: bytes=1000 time=38ms TTL=251

  Reply from 202.101.224.68: bytes=1000 time=38ms TTL=251

  Reply from 202.101.224.68: bytes=1000 time=38ms TTL=251

  Ping statistics for 202.101.224.68:

  Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

  Approximate round trip times in milli-seconds:

  Minimum = 38ms, Maximum = 38ms, Average = 38ms

  依据上述推送及回到的数据可以简易得到到详细地址202.101.224.68的网络速度为:b3hN_M[9I|&!s

  网速相当于≈(推送的字节数/回到的時间[ms])K字节

  ≈1000/38K字节

  ≈26.32K字节

附:ping命令协助表明

  C:\Documents and Settings\Administrator>ping /?

  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] [-R] [-S srcaddr] [-4] [-6] target_name

  Options:

  -t Ping the specified host until stopped.

  To see statistics and continue - type Control-Break;

  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 (IPv4-only).

  -i TTL Time To Live.

  -v TOS Type Of Service (IPv4-only).

  -r count Record route for count hops (IPv4-only).

  -s count Timestamp for count hops (IPv4-only).

  -j host-list Loose source route along host-list (IPv4-only).

  -k host-list Strict source route along host-list (IPv4-only).

  -w timeout Timeout in milliseconds to wait for each reply.

  -R Trace round-trip path (IPv6-only).

  -S srcaddr Source address to use (IPv6-only).

  -4 Force using IPv4.

  -6 Force using IPv6.

  C:\Documents and Settings\Administrator>

推荐资讯
拨打电话