来吧兄弟,一起玩一起讨论!
您需要 登录 才可以下载或查看,没有账号?注册
×
搜完整个HD2PT好像没找到类似的教程,这个方法是在国外论坛上看到的,我觉得国外的盒子用speedtest测速还是比较靠谱的,故在这里分享一下,命令如下:- sudo apt-get install git
- cd /tmp/
- git clone git://github.com/sivel/speedtest-cli.git
- cd speedtest-cli
- ./speedtest-cli
复制代码 以上命令输完后,应该会有类似如下结果:
Retrieving speedtest.net configuration...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Telecom Luxembourg Private Operator (Bettembourg): 8.186ms
Testing download speed........................................
Download: 288.23 Mbit/s
Testing upload speed..................................................
Upload speed: 96.47 Mbit/s
Share results: http://www.speedtest.net/result/2420871042.png
这个方法一般能测试出盒子的大概网速。
/*******************************************************割一下**************************************************************/
还有一个方法可以测出盒子的网卡出口速度,命令如下:- sudo apt-get install iperf
- iperf -c testdebit.info -i 2 -t 20
复制代码 -c host以client模式启动,后跟连接的服务器
-i 以秒为单位显示报告间隔
-t 测试总时间
以上命令输完后,应该会有类似如下结果:
------------------------------------------------------------
Client connecting to testdebit.info, TCP port 5001
TCP window size: 23.8 KByte (default)
------------------------------------------------------------
[ 3] local 94.242.229.144 port 40576 connected with 89.84.127.55 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 2.0 sec 71.9 MBytes 301 Mbits/sec
[ 3] 2.0- 4.0 sec 134 MBytes 562 Mbits/sec
[ 3] 4.0- 6.0 sec 136 MBytes 571 Mbits/sec
[ 3] 6.0- 8.0 sec 140 MBytes 589 Mbits/sec
[ 3] 8.0-10.0 sec 141 MBytes 591 Mbits/sec
[ 3] 10.0-12.0 sec 141 MBytes 591 Mbits/sec
[ 3] 12.0-14.0 sec 141 MBytes 590 Mbits/sec
[ 3] 14.0-16.0 sec 141 MBytes 590 Mbits/sec
[ 3] 16.0-18.0 sec 140 MBytes 588 Mbits/sec
[ 3] 18.0-20.0 sec 141 MBytes 590 Mbits/sec
[ 3] 0.0-20.0 sec 1.30 GBytes 556 Mbits/sec
这个测试好像不会读写硬盘,因为读写硬盘时的网速不能达到如此之高。{:7_722:}
|