如何用ping 命令简单测试网速
2010-01-28 12:00
260 查看
命令格式:
ping ip地址 -l 字节数
注:上面的命令中 l 是字母l,不是数字1
网速等于≈(发送的字节数/返回的时间[毫秒])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
j教QV*d育$I育
网速等于≈(发送的字节数/返回的时间[毫秒])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>
ping ip地址 -l 字节数
注:上面的命令中 l 是字母l,不是数字1
网速等于≈(发送的字节数/返回的时间[毫秒])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
j教QV*d育$I育
网速等于≈(发送的字节数/返回的时间[毫秒])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>
相关文章推荐
- 如何用ping 命令简单测试网速
- 如何用ping 命令简单测试网速
- (转)如何用ping 命令简单测试网速
- 如何用ping 命令简单测试网速
- ping命令简单介绍+用ping简单测网速
- ping命令的简单测试及应用
- ping命令测试网速
- 用C#实现实现简单的 Ping 的功能,用于测试网络是否已经联通
- SQL Server2008R2如何禁用ping命令与设置远程桌面连接
- 必备的网络常用测试命令(ping命令)
- C# ping 测试网速
- 用C#实现实现简单的 Ping 的功能,用于测试网络是否已经连通
- 装服务器,测试数据库,简单的maven命令
- 最简单的方法如何从测试环境切换到线上
- 简单测试你的C学的如何
- 简单的测试安卓网速
- 测试网速命令 必须学会的几个网络测试命令
- 简单测试Apache是如何完成负载均衡策略配置
- C# ping 测试网速
- python---最简单的ping网站测试