Centos系统在speedtest进行网速测试

作者:美云 发布日期:2020/11/21 23:56:39 浏览次数:7788 复制

1,用www.speedtest.cn的测速方案(推荐)

curl -O  https://ftp.speedtest.cn/cli/linux/speedtest-cn-cli  && chmod +x speedtest-cn-cli
./speedtest-cn-cli

2,用www.speedtest.net的测速方案

执行命令进行自动选择节点进行测速:

wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
./speedtest-cli --share

输入命令查看中国的测速节点

./speedtest-cli --list | grep China

测速节点28491) China Mobile HuNan 5G (ChangSha, China) [735.40 km]
 4884) China Unicom FuJian (Fuzhou, China) [1104.60 km]
16171) Fuzhou China Mobile,Fujian (Fuzhou, China) [1104.60 km]
36996) China Telecom,GuiZhou (Guiyang, China) [1128.65 km]
37834) Xiamen Unicom (Xiamen, China) [1219.32 km]
27594) ChinaTelecom 5G (Guangzhou, China) [1294.99 km]
 4515) China Mobile,Guangdong (Shenzhen, China) [1361.51 km]
16192) ShenZhen Unicom (ShenZhen, China) [1361.51 km]
32155) China Mobile Hong Kong (Kwai Chung, Hong Kong) [1380.00 km]
37639) China Mobile Hong Kong Boardband (Tseung Kwan O, Hong Kong) [1386.52 km]
 1536) STC (Hong Kong, China) [1393.10 km]
 2993) Website Solution Limited (Hong Kong, China) [1393.10 km]
19036) SmarTone (Hong Kong, China) [1393.10 km]
15863) GX ChinaMobile (Nanning, China) [1429.44 km]
 5674) GX-Unicom (Nanning, China) [1429.44 km]
27810) GX-Telecom (Nanning, China) [1429.44 km]
16503) Chinamobile,Hainan (Haikou, China) [1671.27 km]

输入测速节点编号进行测速

./speedtest-cli --server=4515 --share