Centos系统安装SpeedTest实现网络测速
Centos系统安装SpeedTest实现网络测速
1.安装pip:
wget https://bootstrap.pypa.io/get-pip.py --no-check-certificate
2.执行安装:
python get-pip.py
3.下载speedtest:
wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
增加可执行权限:
chmod x speedtest-cli
4.安装SpeedTest:pip install speedtest-cli
5.使用测速,
查询安装位置
which speedtest-cli
以图片方式共享测速结果
/usr/bin/speedtest-cli --share