当前文章收录状态:
未收录
ZBenchVPS测试脚本
今天看到人用这个脚本真挺不错,专门适合国人测试Linux服务器的,因为加强了到中国的带宽和延迟测试。有点像teddysun大佬的bench.sh和SuperBench的整合版,测试完还有个web页面报告。
注意:如果执行此脚本连接超时,请指定hosts
项目地址:https://github.com/FunctionClub/ZBench
使用方法:
wget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.shwget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.shwget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh
如果出现乱码使用下面英文版
wget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.shwget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.shwget https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh
执行这个脚本
bash ZBench.shbash ZBench.shbash ZBench.sh
首先它会安装一些程序
Installing Virt-What......Installing ca-certificates......Installing Besttrace......Installing SpeedTest......Installing ZPing-CN.py......Installing Virt-What...... Installing ca-certificates...... Installing Besttrace...... Installing SpeedTest...... Installing ZPing-CN.py......Installing Virt-What...... Installing ca-certificates...... Installing Besttrace...... Installing SpeedTest...... Installing ZPing-CN.py......
是不是很眼熟,其实也就是把这几个工具合成了。
接着开始测试速度
系统 : Ubuntu 14.04.5 LTS架构 : x86_64 (64 Bit)内核 : 4.12.9-041209-generic虚拟化平台 : kvm--------------------------------------------------------------------------硬盘I/O (第一次测试) : 37.1 MB/s硬盘I/O (第二次测试) : 37.3 MB/s硬盘I/O (第三次测试) : 37.4 MB/s--------------------------------------------------------------------------节点名称 IP地址 下载速度 延迟CacheFly 204.93.150.152 52.0MB/s 39.208 msLinode, Tokyo, JP 106.187.96.148 43.1MB/s 39.954 msLinode, Singapore, SG 139.162.23.4 34.4MB/s 48.062 msLinode, London, UK 176.58.107.39 6.37MB/s 250.821 msLinode, Frankfurt, DE 139.162.130.8 6.11MB/s 259.101 msLinode, Fremont, CA 50.116.14.9 12.1MB/s 132.688 msSoftlayer, Dallas, TX 173.192.68.18 5.98MB/s 176.925 msSoftlayer, Seattle, WA 67.228.112.250 8.48MB/s 133.265 msSoftlayer, Frankfurt, DE 159.122.69.4 3.24MB/s 238.727 msSoftlayer, Singapore, SG 119.81.28.170 22.7MB/s 46.562 msSoftlayer, HongKong, CN 119.81.130.170 60.5MB/s 14.160 ms--------------------------------------------------------------------------节点名称 上传速度 下载速度 延迟上海电信 175.65 Mbit/s 88.95 Mbit/s 112.066 ms成都电信 365.54 Mbit/s 1249.70 Mbit/s 53.272 ms西安电信 215.36 Mbit/s 19.16 Mbit/s 60.242 ms上海联通 263.72 Mbit/s 26.73 Mbit/s 51.41 ms重庆联通 182.32 Mbit/s 41.77 Mbit/s 53.26 ms西安移动 572.55 Mbit/s 573.67 Mbit/s 7.55 ms上海移动 86.00 Mbit/s 60.62 Mbit/s 184.12 ms成都移动 31.88 Mbit/s 7.51 Mbit/s 305.175 ms--------------------------------------------------------------------------合肥 : 63.81 ms 北京 : 53.81 ms 武汉 : 33.64 ms昌吉 : 96.54 ms 成都 : 43.2 ms 上海 : 179.66 ms太原 : 50.23 ms 杭州 : 41.24 ms 宁夏 : 73.03 ms呼和浩特 : Fail 南昌 : 31.59 ms 拉萨 : 79.99 ms乌鲁木齐 : 102.77 ms 天津 : 52.03 ms 襄阳 : 37.88 ms郑州 : 46.82 ms 沈阳 : 87.32 ms 兰州 : 70.18 ms哈尔滨 : 66.72 ms 宁波 : 179.39 ms 苏州 : 48.28 ms济南 : 55.32 ms 西安 : 56.23 ms 西宁 : 61.23 ms重庆 : 65.98 ms 深圳 : 22.26 ms 南京 : 44.47 ms长沙 : 30.53 ms 长春 : 73.49 ms 福州 : 29.75 ms--------------------------------------------------------------------------您的测评报告已保存在 /root/report.html你想现在查看您的测评报告吗? [y/n]: y系统 : Ubuntu 14.04.5 LTS 架构 : x86_64 (64 Bit) 内核 : 4.12.9-041209-generic 虚拟化平台 : kvm -------------------------------------------------------------------------- 硬盘I/O (第一次测试) : 37.1 MB/s 硬盘I/O (第二次测试) : 37.3 MB/s 硬盘I/O (第三次测试) : 37.4 MB/s -------------------------------------------------------------------------- 节点名称 IP地址 下载速度 延迟 CacheFly 204.93.150.152 52.0MB/s 39.208 ms Linode, Tokyo, JP 106.187.96.148 43.1MB/s 39.954 ms Linode, Singapore, SG 139.162.23.4 34.4MB/s 48.062 ms Linode, London, UK 176.58.107.39 6.37MB/s 250.821 ms Linode, Frankfurt, DE 139.162.130.8 6.11MB/s 259.101 ms Linode, Fremont, CA 50.116.14.9 12.1MB/s 132.688 ms Softlayer, Dallas, TX 173.192.68.18 5.98MB/s 176.925 ms Softlayer, Seattle, WA 67.228.112.250 8.48MB/s 133.265 ms Softlayer, Frankfurt, DE 159.122.69.4 3.24MB/s 238.727 ms Softlayer, Singapore, SG 119.81.28.170 22.7MB/s 46.562 ms Softlayer, HongKong, CN 119.81.130.170 60.5MB/s 14.160 ms -------------------------------------------------------------------------- 节点名称 上传速度 下载速度 延迟 上海电信 175.65 Mbit/s 88.95 Mbit/s 112.066 ms 成都电信 365.54 Mbit/s 1249.70 Mbit/s 53.272 ms 西安电信 215.36 Mbit/s 19.16 Mbit/s 60.242 ms 上海联通 263.72 Mbit/s 26.73 Mbit/s 51.41 ms 重庆联通 182.32 Mbit/s 41.77 Mbit/s 53.26 ms 西安移动 572.55 Mbit/s 573.67 Mbit/s 7.55 ms 上海移动 86.00 Mbit/s 60.62 Mbit/s 184.12 ms 成都移动 31.88 Mbit/s 7.51 Mbit/s 305.175 ms -------------------------------------------------------------------------- 合肥 : 63.81 ms 北京 : 53.81 ms 武汉 : 33.64 ms 昌吉 : 96.54 ms 成都 : 43.2 ms 上海 : 179.66 ms 太原 : 50.23 ms 杭州 : 41.24 ms 宁夏 : 73.03 ms 呼和浩特 : Fail 南昌 : 31.59 ms 拉萨 : 79.99 ms 乌鲁木齐 : 102.77 ms 天津 : 52.03 ms 襄阳 : 37.88 ms 郑州 : 46.82 ms 沈阳 : 87.32 ms 兰州 : 70.18 ms 哈尔滨 : 66.72 ms 宁波 : 179.39 ms 苏州 : 48.28 ms 济南 : 55.32 ms 西安 : 56.23 ms 西宁 : 61.23 ms 重庆 : 65.98 ms 深圳 : 22.26 ms 南京 : 44.47 ms 长沙 : 30.53 ms 长春 : 73.49 ms 福州 : 29.75 ms -------------------------------------------------------------------------- 您的测评报告已保存在 /root/report.html 你想现在查看您的测评报告吗? [y/n]: y系统 : Ubuntu 14.04.5 LTS 架构 : x86_64 (64 Bit) 内核 : 4.12.9-041209-generic 虚拟化平台 : kvm -------------------------------------------------------------------------- 硬盘I/O (第一次测试) : 37.1 MB/s 硬盘I/O (第二次测试) : 37.3 MB/s 硬盘I/O (第三次测试) : 37.4 MB/s -------------------------------------------------------------------------- 节点名称 IP地址 下载速度 延迟 CacheFly 204.93.150.152 52.0MB/s 39.208 ms Linode, Tokyo, JP 106.187.96.148 43.1MB/s 39.954 ms Linode, Singapore, SG 139.162.23.4 34.4MB/s 48.062 ms Linode, London, UK 176.58.107.39 6.37MB/s 250.821 ms Linode, Frankfurt, DE 139.162.130.8 6.11MB/s 259.101 ms Linode, Fremont, CA 50.116.14.9 12.1MB/s 132.688 ms Softlayer, Dallas, TX 173.192.68.18 5.98MB/s 176.925 ms Softlayer, Seattle, WA 67.228.112.250 8.48MB/s 133.265 ms Softlayer, Frankfurt, DE 159.122.69.4 3.24MB/s 238.727 ms Softlayer, Singapore, SG 119.81.28.170 22.7MB/s 46.562 ms Softlayer, HongKong, CN 119.81.130.170 60.5MB/s 14.160 ms -------------------------------------------------------------------------- 节点名称 上传速度 下载速度 延迟 上海电信 175.65 Mbit/s 88.95 Mbit/s 112.066 ms 成都电信 365.54 Mbit/s 1249.70 Mbit/s 53.272 ms 西安电信 215.36 Mbit/s 19.16 Mbit/s 60.242 ms 上海联通 263.72 Mbit/s 26.73 Mbit/s 51.41 ms 重庆联通 182.32 Mbit/s 41.77 Mbit/s 53.26 ms 西安移动 572.55 Mbit/s 573.67 Mbit/s 7.55 ms 上海移动 86.00 Mbit/s 60.62 Mbit/s 184.12 ms 成都移动 31.88 Mbit/s 7.51 Mbit/s 305.175 ms -------------------------------------------------------------------------- 合肥 : 63.81 ms 北京 : 53.81 ms 武汉 : 33.64 ms 昌吉 : 96.54 ms 成都 : 43.2 ms 上海 : 179.66 ms 太原 : 50.23 ms 杭州 : 41.24 ms 宁夏 : 73.03 ms 呼和浩特 : Fail 南昌 : 31.59 ms 拉萨 : 79.99 ms 乌鲁木齐 : 102.77 ms 天津 : 52.03 ms 襄阳 : 37.88 ms 郑州 : 46.82 ms 沈阳 : 87.32 ms 兰州 : 70.18 ms 哈尔滨 : 66.72 ms 宁波 : 179.39 ms 苏州 : 48.28 ms 济南 : 55.32 ms 西安 : 56.23 ms 西宁 : 61.23 ms 重庆 : 65.98 ms 深圳 : 22.26 ms 南京 : 44.47 ms 长沙 : 30.53 ms 长春 : 73.49 ms 福州 : 29.75 ms -------------------------------------------------------------------------- 您的测评报告已保存在 /root/report.html 你想现在查看您的测评报告吗? [y/n]: y
想生成web页面报告的话选y就行了。
SuperSpeed 全面测速版
GitHub:传送门
节点列表:传送门
去除性能测试,可一键三网测速,适合各大Linux系统,使用教程:
bash <(curl -Lso- https://git.io/superspeed)bash <(curl -Lso- https://git.io/superspeed)bash <(curl -Lso- https://git.io/superspeed)
修复版
bash <(curl -Lso- https://www.zym88.cn/sh/superspeed.sh)bash <(curl -Lso- https://www.zym88.cn/sh/superspeed.sh)bash <(curl -Lso- https://www.zym88.cn/sh/superspeed.sh)
以下是测速报告演示:
![图片[1]-linux 服务器综合测速脚本 ZBench-明恒博客](https://www.zym88.cn/wp-content/uploads/2020/12/2020-12-11_093432.png)
© 版权声明
1
本站网络名称:
明恒博客
2
本站永久网址:
www.zym88.cn
3 本站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长进行删除处理。
4 本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报。
6 本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。
4 本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报。
6 本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。
THE END
暂无评论内容