推荐一个VPS测试脚本
总结一下 bench.sh 的特点:
1、显示各种系统信息;
2、取自 Speedtest 世界多处的数据中心的测试点,网络测试比较全面;
3、IO 测试(顺序写入 1GB 数据)三次,并显示其平均值。
使用方法:
命令:wget -qO- bench.sh | bash或者
curl -Lso- bench.sh | bash
----------------------------------------------------------------------
下方为最近新购的一台VPS 测试结果:
root@0828:~# 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) CPU E5-2697 v2 @ 2.70GHz CPU Cores : 3 @ 2699.998 MHz CPU Cache : 30720 KB AES-NI : ✓ Enabled VM-x/AMD-V : ✗ Disabled Total Disk : 275.5 GB (1.3 GB Used) Total Mem : 1.9 GB (234.4 MB Used) Total Swap : 1023.0 MB (0 Used) System uptime : 0 days, 0 hour 47 min Load average : 0.01, 0.02, 0.00 OS : Debian GNU/Linux 12 Arch : x86_64 (64 Bit) Kernel : 6.1.0-9-amd64 TCP CC : cubic Virtualization : KVM IPv4/IPv6 : ✓ Online / ✓ Online Organization : AS35916 MULTACOM CORPORATION Location : Los Angeles / US Region : California ---------------------------------------------------------------------- I/O Speed(1st run) : 239 MB/s I/O Speed(2nd run) : 247 MB/s I/O Speed(3rd run) : 278 MB/s I/O Speed(average) : 254.7 MB/s ---------------------------------------------------------------------- Node Name Upload Speed Download Speed Latency Speedtest.net 938.02 Mbps 918.24 Mbps 0.57 ms Los Angeles, US 916.92 Mbps 864.43 Mbps 1.09 ms Dallas, US 916.58 Mbps 77.29 Mbps 31.11 ms Montreal, CA 429.35 Mbps 865.06 Mbps 68.53 ms Amsterdam, NL 681.17 Mbps 24.99 Mbps 126.98 ms Mumbai, IN 387.97 Mbps 227.19 Mbps 231.40 ms Singapore, SG 166.62 Mbps 682.91 Mbps 165.94 ms Tokyo, JP 802.17 Mbps 56.73 Mbps 102.88 ms ---------------------------------------------------------------------- Finished in : 3 min 46 sec Timestamp : 2024-08-28 04:37:38 EDT ----------------------------------------------------------------------
码字很辛苦,转载请注明来自.小东博客 .的《推荐一个VPS测试脚本 》
08-28
346人浏览
点击这里取消回复。