Bench.sh是一个 Linux 服务器性能测试脚本,可以使用以下命令来查看 Linux 系统信息,以及测试网络带宽和硬盘读写速率。
使用方法
在终端执行如下其中一个命令,即可自动开始测试。
wget -qO- bench.sh | bash //或者 curl -Lso- bench.sh | bash
测试结果
root@linux:~# wget -qO- bench.sh | bash -------------------- A Bench.sh Script By Teddysun ------------------- Version : v2023-10-15 Usage : wget -qO- bench.sh | bash ---------------------------------------------------------------------- CPU Model : Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz CPU Cores : 3 @ 2200.000 MHz CPU Cache : 36608 KB AES-NI : ✓ Enabled VM-x/AMD-V : ✓ Enabled Total Disk : 59.0 GB (1.9 GB Used) Total Mem : 3.8 GB (69.5 MB Used) Total Swap : 4.5 GB (0 Used) System uptime : 4 days, 22 hour 1 min Load average : 0.00, 0.00, 0.00 OS : Debian GNU/Linux 11 Arch : x86_64 (64 Bit) Kernel : 5.10.0-26-amd64 TCP CC : cubic Virtualization : KVM IPv4/IPv6 : ✓ Online / ✗ Offline Organization : AS36352 ColoCrossing Location : Buffalo / US Region : New York ---------------------------------------------------------------------- I/O Speed(1st run) : 411 MB/s I/O Speed(2nd run) : 517 MB/s I/O Speed(3rd run) : 515 MB/s I/O Speed(average) : 481.0 MB/s ---------------------------------------------------------------------- Node Name Upload Speed Download Speed Latency Speedtest.net 300.51 Mbps 625.81 Mbps 36.72 ms Los Angeles, US 431.85 Mbps 848.27 Mbps 74.90 ms Dallas, US 505.64 Mbps 865.77 Mbps 53.58 ms Montreal, CA 133.83 Mbps 719.98 Mbps 17.16 ms Paris, FR 198.55 Mbps 3263.70 Mbps 92.44 ms Amsterdam, NL 82.23 Mbps 1537.29 Mbps 87.35 ms Shanghai, CN 2.10 Mbps 164.43 Mbps 290.02 ms Hongkong, CN 5.07 Mbps 4.95 Mbps 222.70 ms Mumbai, IN 335.18 Mbps 1946.62 Mbps 208.84 ms Singapore, SG 104.04 Mbps 1799.42 Mbps 254.70 ms Tokyo, JP 210.60 Mbps 1510.86 Mbps 192.33 ms ---------------------------------------------------------------------- Finished in : 6 min 5 sec Timestamp : 2023-12-02 08:07:36 EST ----------------------------------------------------------------------
暂无评论
要发表评论,您必须先 登录