erverreview Benchmark,这个脚本是来自国外的网友提供的,可以一键测试Linux系统服务器的基本信息。包括服务器配置信息、CDN加速节点Speedtest,以及各大洲的Speedtest测速、IO硬盘读写能力。这个脚本运行时间还是比较短的,相比其他几个脚本,测试的项目还是有所区别的。
第一、Serverreview Benchmark 脚本安装
1、安装 curl
apt-get install curl #Ubuntu/Debian
yum install curl -y #Centos
根据不同的镜像,选择安装Curl。
2、完整测试脚本
对服务器信息、CDN加速节点的Speedtest测速、各大洲节点的Speedtest测速、IO测试进行全面测试。
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -a share
3、简化测试脚本
对服务器信息、CDN加速节点的Speedtest测速、IO测试进行测试。
curl -LsO git.io/bench.sh; chmod +x bench.sh && ./bench.sh -b share
备用脚本地址:(如果仓库的地址失效,可以用这个备用地址替换)
http://tools.laobuluo.com/tools/bench.sh
第二、Serverreview Benchmark 脚本效果
这里老蒋找到一台测试服务器,测试脚本效果如下。
## System Information
OS Name : CentOS Linux release 7.6.1810 (Core) N (64 bit)
Kernel : / 3.10.0-957.el7.x86_64
Hostname : US01-XH310V2-DS005-03
CPU Model : Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz
CPU Cores : 8 cores @ 1758.160 MHz
CPU Cache : 8192 KB
Total RAM : 7791 MiB (Free 6897 MiB)
Total SWAP : 8063 MiB (Free 8063MiB)
Total Space : 229GB (1% used)
Running for : 218days - 00hrs 28min 24sec
## CDN Speedtest
CacheFly : 4.29 MiB/s | 34.33 Mbps | ping 0.884ms
Gdrive : 3.25 MiB/s | 25.99 Mbps | ping 1.548ms
## North America Speedtest
Softlayer, Washington, USA : 1.78 MiB/s | 14.20 Mbps | ping 103.489ms
SoftLayer, San Jose, USA : 4.29 MiB/s | 34.32 Mbps | ping 52.673ms
SoftLayer, Dallas, USA : 0 B/s | N/A | ping error!
Vultr, New Jersey, USA : 3.83 MiB/s | 30.66 Mbps | ping 80.110ms
Vultr, Seattle, USA : 3.55 MiB/s | 28.37 Mbps | ping 18.383ms
Vultr, Dallas, USA : 3.39 MiB/s | 27.15 Mbps | ping 41.048ms
Vultr, Los Angeles, USA : 3.53 MiB/s | 28.25 Mbps | ping 7.532ms
Ramnode, New York, USA : 3.46 MiB/s | 27.67 Mbps | ping 69.667ms
Ramnode, Atlanta, USA : 3.54 MiB/s | 28.29 Mbps | ping 62.635ms
OVH, Beauharnois, Canada :ping: bhs.proof.ovh.net: Name or service not known
0 B/s | N/A | ping error!
## Europe Speedtest
Vultr, London, UK : 3.19 MiB/s | 25.52 Mbps | ping 135.335ms
LeaseWeb, Frankfurt, Germany : 3.36 MiB/s | 26.90 Mbps | ping 156.470ms
Hetzner, Germany : 2.88 MiB/s | 23.06 Mbps | ping 158.834ms
Ramnode, Alblasserdam, NL : 2.72 MiB/s | 21.75 Mbps | ping 141.607ms
Vultr, Amsterdam, NL : 3.35 MiB/s | 26.81 Mbps | ping 247.523ms
EDIS, Stockholm, Sweden : 316 B/s | N/A | ping 159.588ms
OVH, Roubaix, France : 323 B/s | N/A | ping 145.754ms
Online, France : 3.02 MiB/s | 24.13 Mbps | ping 142.377ms
Prometeus, Milan, Italy : 562 B/s | N/A | ping 167.100ms
## Exotic Speedtest
Sydney, Australia : 2.97 MiB/s | 23.75 Mbps | ping 194.406ms
Lagoon, New Caledonia : 325 B/s | N/A | ping 177.082ms
Hosteasy, Moldova : 2.48 MiB/s | 19.81 Mbps | ping 192.983ms
Prima, Argentina : 296.81 KiB/s | 2.32 Mbps | ping error!
## Asia Speedtest
SoftLayer, Singapore : 513.26 KiB/s | 4.01 Mbps | ping 177.197ms
Linode, Tokyo, Japan : 3.33 MiB/s | 26.65 Mbps | ping 100.178ms
Linode, Singapore : 3.31 MiB/s | 26.48 Mbps | ping 181.890ms
Vultr, Tokyo, Japan : 3.40 MiB/s | 27.16 Mbps | ping 97.998ms
## IO Test
CPU Speed:
bzip2 512MB - bzip2 not found on system.
sha256 512MB - 336 MB/s
md5sum 512MB - 626 MB/s
Disk Speed (512MB):
I/O Speed - 3.3 GB/s
I/O Direct - 127 MB/s
RAM Speed (1024MB):
Avg. write - 3925.3 MB/s
Avg. read - 5700.3 MB/s
Benchmark finished in 125 seconds
results saved on /root/bench.log
Share result:
/p/FX9hq6GSnd/