linux命令行下使用speedtest测速

什么是speedtest-cli
speedtest-cli是一款网速测试工具,可以方便的测试网络上传下载速度

speedtest-cli项目地址
https://github.com/sivel/speedtest-cli

linux下如何安装speedtest-cli
直接运行下面命令安装

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

如何使用speedtest-cli

运行帮助查看详情

./speedtest --help

speedtest-cli简单测试

./speedtest --server 3633 --share

test.png

speedtest中国节点2018-1-4

./speedtest --list|grep 'China'
 8554) Xinjiang Wireless Communication Co., Ltd. (Changji, China) [4826.44 km]
 6144) xjunicom (Urumqi, China) [4859.96 km]
 5750) Lhasaunicom (Lhasa, China) [6123.63 km]
 5992) Qinghai China Unicom (Xining, China) [6290.55 km]
 3973) China Telecom (Lanzhou, China) [6467.94 km]
 4690) China Unicom Lanzhou Branch Co.Ltd (Lanzhou, China) [6467.94 km]
 5509) Chinaunicom Ningxia branch (Ningxia, China) [6521.12 km]
12512) nmzl (Huhehaote, China) [6588.62 km]
16005) Shanxi CMCC (Taiyuan, China) [6872.58 km]
12868) China unicom shanxi branch (Taiyuan, China) [6872.58 km]
 4575) China Mobile Group Sichuan (Chengdu, China) [6911.41 km]
11444) University of Electronic Science and Technology of China (Chengdu, China) [6911.41 km]
 2461) China Unicom (Chengdu, China) [6911.41 km]
 5292) China Mobile Group Shaanxi Company Limited (Xi'an, China) [6933.54 km]
 4863) Xi'an branch,Chinaunicom (Xi'an, China) [6933.54 km]
 6302) Beijing Fiber City (Beijing, China) [6937.65 km]
 4751) Beijing Telecom (Beijing, China) [6937.65 km]
 5145) Beijing Unicom (Beijing, China) [6937.65 km]
 5505) Beijing Broadband Network (Beijing, China) [6937.65 km]
 4525) Heilongjiang-CMCC (Harbin, China) [7023.77 km]
 5460) China Unicom Heilongjiang Branch (Harbin, China) [7023.77 km]
 5475) China Unicom (Tianjin, China) [7047.40 km]
10742) Changchun Unicom (Changchun, China) [7111.55 km]
 9484) China Unicom (Changchun, China) [7111.55 km]
 5726) China Unicom Chong Qing Branch (Chongqing, China) [7165.03 km]
 5530) CCN (Chongqing, China) [7165.03 km]
 5131) China unicom henan branch (Zhengzhou, China) [7190.67 km]
 4595) China Telecom HeNan Branch (Zhengzhou, China) [7190.67 km]
 5017) China Unicom,Liaoning Branch (Shenyang, China) [7213.38 km]
 5563) JINAN Wo China company (Jinan, China) [7237.58 km]
 5039) China unicom Jinan branch (Jinan, China) [7237.58 km]
12538) SHANDONG UNICOM (Jinan, China) [7237.58 km]
 5103) Yunnan Chinaunicom (Kunming, China) [7277.44 km]
 6168) China Telecom (Kunming, China) [7277.44 km]
 6435) china Telecom hubei branch (Xiangyang, China) [7321.66 km]
 5396) China Telecom JiangSu Branch (Suzhou, China) [7450.80 km]
 5485) China Unicom,Hubei Branch (Wuhan, China) [7576.57 km]
 4377) China Mobile Group Anhui Co.,Ltd (Hefei, China) [7655.92 km]
 5724) ChinaUnicom (Hefei, China) [7655.92 km]
15862) China Mobile Group Hunan Co.,Ltd (Changsha, China) [7693.32 km]
 6132) ChinaTelecom.Hunan (Changsha, China) [7693.32 km]
 4870) Changsha, Hunan Unicom (Changsha, China) [7693.32 km]
 5446) CHINA UNICOM JIANGSU COMPANY (Nanjing, China) [7731.43 km]
 5316) China Telecom JiangSu Branch (Nanjing, China) [7731.43 km]
13704) China Unicom (Nanjing, China) [7732.40 km]
 7643) China Telecom.JiangXi.Network Center (Nanchang, China) [7837.55 km]
 7230) China Unicom.JiangXi Co.,Ltd (Nanchang, China) [7837.55 km]
 5097) Chinaunicom.jx (Nanchang, China) [7837.55 km]
10305) GX-Telecom (Nanning, China) [7842.30 km]
15863) GX ChinaMobile (Nanning, China) [7842.30 km]
 4665) China Mobile Group Shanghai Co.,LTD (Shanghai, China) [7969.86 km]
 3633) China Telecom (Shanghai, China) [7969.86 km]
 5083) Shanghai Branch, China Unicom (Shanghai, China) [7969.86 km]
 4647) China Mobile Group Zhejiang Co.,Ltd (Hangzhou, China) [7970.40 km]
 5300) Hangzhou , Zhejiang Unicom (Hangzhou, China) [7970.40 km]
 7509) China Telecom ZheJiang Branch (Hangzhou, China) [7970.40 km]
 6245) ningbo unicom (Ningbo, China) [8087.74 km]
 6715) China Mobile Group Zhejiang Co., Ltd. (Ningbo, China) [8087.74 km]
 6611) GZ-CMCC (Guangzhou, China) [8141.82 km]
 5081) ShenZhen Telecom (Shenzhen, China) [8249.83 km]
 2993) Website Solution Limited (Hong Kong, China) [8276.35 km]
10267) Interoute VDC (Hong Kong, China) [8276.35 km]
12990) QTS Data Centers (Hong Kong, China) [8276.35 km]
 1536) STC (Hong Kong, China) [8276.35 km]
 8170) Atombase Global Datamation (Hong Kong, China) [8276.35 km]
 4884) China Unicom FuJian (Fuzhou, China) [8276.39 km]
 6852) FPT Telecom (Chai Wan, China) [8279.41 km]
 5506) china unicom (Xiamen, China) [8338.42 km]
14566) China Network Systems(CNS) (Taipei, Taiwan, Province of China) [8508.45 km]

发表评论