Linux服務器用speedtest 測試上傳下載速度


如何測試Linux服務器上傳下載速度
方法一、


方法二、登陸到服務器的Home目錄下,下載speedtest.py

sudo wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py

加上執行權限,需要有python環境支持下執行

sudo chmod 755 speedtest.py
./speedtest.py
[wuyun@localhost home]$ ./speedtest.py 
Retrieving speedtest.net configuration...
Testing from China Telecom (219.131.192.35)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by CTM Internet Services (Macau) [8.74 km]: 43.531 ms
Testing download speed................................................................................
Download: 74.49 Mbit/s
Testing upload speed................................................................................................
Upload: 80.77 Mbit/s

最好選擇網絡空閑時段再測試。它會自動發現離你最近的Speedtest.net服務器(地理距離),然后顯示測試的網絡上/下行速率。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM