python一键测试网速
CentOS7.4
#git clone https://github.com/sivel/speedtest-cli.git
#cd speedtest-cli/
#./speedtest.py
测试结果:
Retrieving speedtest.net configuration...
Testing from CNISP Group (101.36.161.42)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by Beijing Broadband Network (Beijing) [1.67 km]: 20.224 ms
Testing download speed................................................................................
Download: 9.04 Mbit/s
Testing upload speed................................................................................................
Upload: 10.02 Mbit/s
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步