技术
成就梦想!

Linux下进行使用Speedtest.net测速

本次使用到的测速工具是使用的Python写的基于Speedtest.net的架构写的网络测速工具,在Python2.4至3.4版本下均可运行,测试仅需要下载一个Python脚本即可。

测试脚本如下:

yum -y install wget
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest.py
./speedtest.py

 

[root@iZ2zeec7zt8uvtvelro1iuZ ~]# ./speedtest.py
Retrieving speedtest.net configuration...
Testing from Hangzhou Alibaba Advertising Co.,Ltd. (47.93.199.237)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Telecom ZheJiang Branch (Hangzhou) [4.91 km]: 30.351 ms
Testing download speed................................................................................
Download: 111.47 Mbit/s
Testing upload speed................................................................................................
Upload: 6.10 Mbit/s

image

赞(0)
未经允许不得转载:未来往事 » Linux下进行使用Speedtest.net测速

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址