Linux服务器测试工具 LemonBench 使用指南

Linux服务器测试工具 LemonBench 使用指南

这篇文章出现的原因

可能是极光星空大佬比较忙的原因,只更新了Github上的文件,却没有更新网站的文件链接和使用方法,正好在测试服务器时用到了,就顺便写一下。

原文链接

https://blog.ilemonrain.com/linux/LemonBench.html

使用方法

获取脚本

1
wget https://raw.githubusercontent.com/LemonBench/LemonBench/master/LemonBench.sh

快速测试

1
bash LemonBench.sh --mode fast

完整测试

1
bash LemonBench.sh --mode full

单独测试之磁盘快速测试

1
bash LemonBench.sh --dtfast

更多单独测试参数

即将上面的--dtfast换成对应的其他测试,如网速完整测试就是--spfull,完整的命令就是

1
bash LemonBench.sh --spfull
1
2
3
4
5
6
7
8
9
10
11
--dtfast		Disk Test (Fast Test Mode)
--dtfull Disk Test (Full Test Mode)
--spfast Speedtest Test (Fast Test Mode)
--spfull Speedtest Test (Full Test Mode)
--trfast Traceroute Test (Fast Test Mode)
--trfull Traceroute Test (Full Test Mode)
--sbcfast CPU Benchmark Test (Fast Test Mode)
--sbcfull CPU Benchmark Test (Full Test Mode)
--sbmfast Memory Benchmark Test (Fast Test Mode)
--sbmfull Memory Benchmark Test (Full Test Mode)
--spoof Caida Spoofer Test (Use it at your own risk)

测试项目

Current Support Features

  • System Information (OS Release Info / CPU Info / Virt Info / Memory Info / Disk Info / Load Info etc.)
  • Network Information (IPV4 IP Address, ASN Info, Geo Info / IPV6 IP Address, ASN Info, Geo Info)
  • Streaming Unlock Test (HBO Now, BBC, Princess Connect Re:Dive! Japan Server, Bahamut Anime, Bilibili HongKong/Macau/Taiwan)
  • CPU Performance Test (Based on Sysbench 1.0.19)
  • Memory Performance Test (Based on Sysbench 1.0.19)
  • Disk Performance Test (4K Block / 1M Block)
  • Speedtest.net Network Speed Test
  • Traceroute Test (Server -> Primary ISP)
  • Spoof Test (need manually activate)
  • Auto-Generate Result and Sharing