标签:roo 客户 lock china server cli clone test 界面
2019年03月04日
系统版本:CentOS Linux release 7.5.1804
https://jingyan.baidu.com/article/f006222814b0eefbd2f0c873.html
linux命令行界面用 speedtest 测网速,linux版本是基于python,网站是 speedtest.net
因为是下载githup版本库上的软件,linux上要安装git客户端
# yum -y install git
使用git下载测试软件
# git clone https://github.com/sivel/speedtest-cli.git
运行speedtest.py
# ./speedtest-cli/speedtest.py
能显示公网IP地址,又能显示上传下载的速度,多测试几次取平均值会使结果更准确。
[root@localhost ~]# ./speedtest-cli/speedtest.py
Retrieving speedtest.net configuration...
Testing from China Mobile Guangdong (x.x.x.x)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by China Mobile Group Beijing Co.Ltd (Beijing) [1.67 km]: 18.362 ms
Testing download speed................................................................................
Download: 174.73 Mbit/s
Testing upload speed................................................................................................
Upload: 178.91 Mbit/s
[root@localhost ~]#
标签:roo 客户 lock china server cli clone test 界面
原文地址:https://www.cnblogs.com/haoduoyou/p/10471626.html