安裝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