教你用ping 命令简单测试网速

社区服务
高级搜索
猴岛论坛电脑百科教你用ping 命令简单测试网速
发帖 回复
正序阅读 最近浏览的帖子最近浏览的版块
5个回复

教你用ping 命令简单测试网速

楼层直达
独孤霸辰

ZxID:10126872

等级: 元老

举报 只看楼主 使用道具 楼主   发表于: 2010-07-02 0
命令格式:
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>
本帖de评分: 1 条评分 DB +8
DB+8

我很赞同

八臂哪吒ぃ

ZxID:10958217

等级: 大将

举报 只看该作者 5楼  发表于: 2010-07-02 0
谢谢
iΜ。

ZxID:10566305

等级: 贵宾
决定很重要。

举报 只看该作者 4楼  发表于: 2010-07-02 0
不错哦。谢谢分享
╱╳灬小熊ゞ

ZxID:9189876

等级: 大将

举报 只看该作者 地板   发表于: 2010-07-02 0
感谢分享。。。


why741000

ZxID:6386094

等级: 大校
再牛B的肖邦 也弹不出老子的悲伤
举报 只看该作者 板凳   发表于: 2010-07-02 0
楼主好牛X 
再牛B的肖邦 也弹不出老子的悲伤
゛蝣蕩啲龍っ

ZxID:7865773

等级: 元老
‘燕鸥’是种水鸟,听说,它们会从几千里外,飞回自己的家,而且,是‘情有独钟’,终身不换伴侣 ..

举报 只看该作者 沙发   发表于: 2010-07-02 0
感谢你的分享
« 返回列表
发帖 回复