Centos/Linux 使用几种bench.sh脚本测试网速的方法

以下测试脚本运行在本站的台湾大带宽服务器上,如有疑问均可提出。

一、使用bench.sh 脚本测试速度 【推荐】

[root@211-20-*-* ~]#  wget -qO- bench.sh | bash

或者     curl -Lso- bench.sh | bashActionScript

[root@21120-*-* ~]# wget -qO- bench.sh | bash
———————————————————————-
CPU model : Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
Number of cores : 24
CPU frequency : 1200.732 MHz
Total size of Disk : 1011.0 GB (1.5 GB Used)
Total amount of Mem : 31896 MB (376 MB Used)
Total amount of Swap : 12283 MB (0 MB Used)
System uptime : 0 days, 0 hour 6 min
Load average : 0.32, 5.67, 3.92
OS : CentOS 7.7.1908
Arch : x86_64 (64 Bit)
Kernel : 3.10.01062.el7.x86_64
———————————————————————-
I/O speed(1st run) : 280.9 MB/s
I/O speed(2nd run) : 279.6 MB/s
I/O speed(3rd run) : 278.2 MB/s
Average I/O speed : 279.6 MB/s
———————————————————————-
Node Name IPv4 address Download Speed
CacheFly 204.93.150.152 12.7MB/s
Linode, Tokyo2, JP 139.162.65.37 4.11MB/s
Linode, Singapore, SG 139.162.23.4
Linode, London, UK 176.58.107.39 4.54MB/s
Linode, Frankfurt, DE 139.162.130.8 1.14MB/s
Linode, Fremont, CA 50.116.14.9 5.44MB/s
Softlayer, Dallas, TX 173.192.68.18 3.44MB/s
Softlayer, Seattle, WA 67.228.112.250 1.78MB/s
Softlayer, Frankfurt, DE 159.122.69.4 1.51MB/s
Softlayer, Singapore, SG 119.81.28.170 9.19MB/s
Softlayer, HongKong, CN 119.81.130.170 17.5MB/s
———————————————————————-

二、使用SuperBench.sh 脚本测试速度

[root@211-20-*-* ~]# wget -qO- git.io/superbench.sh | bash

或者  curl -LsO git.io/superbench.sh; chmod +x superbench.shActionScript

———————————————————————-
CPU Model : Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
CPU Cores : 24 Cores @ 1206.884 MHz x86_64
CPU Cache : 30720 KB
OS : CentOS 7.7.1908 (64 Bit) Dedicated
Kernel : 3.10.01062.el7.x86_64
Total Space : 2.5 GB / 1011.0 GB
Total RAM : 377 MB / 31896 MB (1231 MB Buff)
Total SWAP : 0 MB / 12283 MB
Uptime : 0 days 0 hour 22 min
Load Average : 0.12, 0.28, 1.42
TCP CC : cubic
ASN & ISP : AS3462, HINET
Organization : Chunghwa Telecom Co. Ltd.
Location : Fenjihu, Taiwan / TW
Region : Taiwan
———————————————————————-
I/O Speed( 1.0GB ) : 280.3 MB/s
I/O Speed( 1.0GB ) : 281.4 MB/s
I/O Speed( 1.0GB ) : 277.6 MB/s
Average I/O Speed : 279.8 MB/s
———————————————————————-
Node Name Upload Speed Download Speed Latency
Speedtest.net 598.64 Mbit/s 366.33 Mbit/s 3.155 ms
Fast.com 0.00 Mbit/s 69.4 Mbit/s –
Wuhan CT 2.36 Mbit/s 13.69 Mbit/s –
Hangzhou CT 2.72 Mbit/s 85.07 Mbit/s –
Lanzhou CT 1.83 Mbit/s 43.79 Mbit/s –
Shanghai CU 14.82 Mbit/s 135.12 Mbit/s –
Heifei CU 38.68 Mbit/s 69.57 Mbit/s –
Xizang CM 74.32 Mbit/s 13.22 Mbit/s –
———————————————————————-

 三、speedtest-cli 测试速度

[root@211-20-*-* ~]# wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py && chmod +x superspeed.sh && ./superspeed.shActionScript

Retrieving speedtest.net configuration…
Testing from HiNet (211.20.*.*)
Retrieving speedtest.net server list…
Selecting best server based on ping…
Hosted by Chief Telecom (Taichung) [1.78 km]: 3.062 ms
Testing download speed………………………………….
Download: 755.89 Mbit/s
Testing upload speed……………………………………
Upload: 626.86 Mbit/s

四、使用SuperSpeed.sh   脚本测试

[root@211-20-*-* ~]# wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.shActionScript

测试服务器到
1.中国电信 2.中国联通 3.中国移动 4.本地默认 5.全面测速
请输入数字选择: 5
Node Name Upload Speed Download Speed Latency
昆明电信 2.84 Mbit/s 94.40 Mbit/s 266.11 ms
上海电信 2.83 Mbit/s 213.48 Mbit/s 250.814 ms
西安联通 16.23 Mbit/s 101.20 Mbit/s 141.641 ms
宁波移动 6.60 Mbit/s 166.86 Mbit/s 113.243 ms

五、使用ZBench.sh测试

[root@211-20-*-* ~]# wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

六、使用testrace.sh 回程测试

[root@211-20-*-* ~]# wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh && bash testrace.sh

© 版权声明
THE END
喜欢就支持一下吧
点赞41
分享
评论 抢沙发
搜搜资源官网的头像-搜搜资源网

昵称

取消
昵称表情代码图片
搜搜资源网-欢迎来到搜搜资源网