开源:serverreview-benchmark,国外Linux服务器性能测试脚本

国内大神关于VPS、服务器的性能测试脚本有不少,例如:来自老鬼的SuperBench.sh,来自秋水逸冰的Bench.sh,还有集Bench和SuperBench之大成于一体的ZBench.sh等等。

本文分享一个出自国外大佬之手的Linux服务器性能测试脚本serverreview-benchmark。脚本可以一键测试服务器信息,包括:安装系统版本、CPU型号、CPU核心数、CPU缓存、内存、所采用的虚拟技术以及硬盘大小等;支持一键测速,包括:3个Speedtest的CDN加速节点测速、27个各大洲网络节点的Speedtest测速;I/O测试等;还可以自动生成测试分享链接。

Github地址https://github.com/sayem314/serverreview-benchmark

使用方法

1.下载

curl -LsO git.io/bench.sh; chmod +x bench.sh

【备注】如果提示-bash: curl: command not found,可进行如下操作:

apt-get -y install curl  #debian/ubuntu
yum -y install curl  #centos

2.运行

./bench.sh Arguments Parameters (Optional)

例如:

./bench.sh -b share

3.参数

Arguments

-info # System Information
-io # I/O Test
-cdn # CDN Download (200MB)
-northamerica # North America Download (800MB)
-europe # Europe Download (900MB)
-asia # Asia Download (400MB)
-b # System Info + CDN Download + I/O Test
-a # All In One Command
-speed # Test from speedtest.net using speedtest cli
-help # Show help
-about # Show about

Parameters

share

./bench.sh -cdn share haste

Available option:

ubuntu # upload results to ubuntu paste (default)
haste # upload results to hastebin
clbin # upload results to clbin
ptpb # upload results to ptpb

4.预览

serverreview-benchmark.png

相关阅读

Github - serverreview-benchmark

Shell集合汇总:常用VPS一键测试脚本

猜您喜欢

发表评论

icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif