安装Speedtest到CentOS(YUM)


Speedtest是一个由Python语言编写的一个网络测速脚本,提供多个外网的测试站点,我们可以使用它测试网络的IO速度。
如果由于网络问题导致无法下载软件包,则可以通过安装模块到Python的方式使用它,请参考"安装Speedtest到Python"。

运行环境

系统版本:CentOS Linux release 7.3.1611 (Core)
软件版本:无
硬件要求:无

安装过程

1、安装Git

Git是一个文件版本控制工具。

[root@localhost ~]# yum -y install git

2、使用Git下载Seppdtest

[root@localhost ~]# git clone https://github.com/sivel/speedtest-cli.git

3、使用Seepdtest测试网络带宽

[root@localhost ~]# cd speedtest-cli/
[root@localhost ~]# ./speedtest.py 
Retrieving speedtest.net configuration...
Testing from China Telecom Guangdong (183.14.133.121)...测试站点
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Mobile,Guangdong (Shenzhen) [0.00 km]: 22.577 ms
Testing download 
测试下载
speed................................................................................
Download: 22.36 Mbit/s  = 2.7MB/S
Testing upload 
测试上传
speed................................................................................................
Upload: 17.72 Mbit/s    = 2.2MB/S


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM