CentOS 使用命令行测试网速/带宽
CentOS Linux release 7.7.1908 (Core)
Linux centos7-test-22 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
国外的 Ookla 测速:https://www.speedtest.net。
国内测速网站:https://www.speedtest.cn。
Install Options 安装
# get repos 下载官方镜像源 # https://www.speedtest.net/apps/cli sudo yum install wget wget https://bintray.com/ookla/rhel/rpm -O bintray-ookla-rhel.repo sudo mv bintray-ookla-rhel.repo /etc/yum.repos.d/ # 卸载其他非官方版本 # Other non-official binaries will conflict with Speedtest CLI # Example how to remove using yum # rpm -qa | grep speedtest | xargs -I {} sudo yum -y remove {} # 安装 sudo yum install speedtest
Speed Test 测速
speedtest
