安装speedtest-cli
yum install python-pip –ypip install speedtest-cli
执行网络测速
speedtest#执行结果Retrieving configuration...Testing from Tencent cloud computing (140.143.139.14)...Retrieving server list...Selecting best server based on ping...Hosted by Henan CMCC 5G (Zhengzhou) [9.69 km]: 28.288 msTesting download speed................................................................................Download: 56.20 Mbit/s #下载速度Testing upload speed......................................................................................................Upload: 1.03 Mbit/s #上传速度
参考文章:/speedtest-network-in-linux.html
/yychuyu/p/12859788.html