Linux 服务器带宽测试

Superspeed.sh

一键测试服务器到国内的速度脚本Superspeed.sh :

wget https://raw.githubusercontent.com/oooldking/script/master/superspeed.sh
chmod +x superspeed.sh
sudo ./superspeed.sh

SuperBench.sh

一键检测VPS的CPU、内存、负载、IO读写、机房带宽和服务器类型等脚本SuperBench.sh:

wget -N --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh
sudo bash superbench.sh
#或者
curl -Lso- https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash

Zench

Zench可以看作是Bench.sh 和 SuperBench的结合版本,加入 Ping 以及 路由测试 功能,会生成测评报告,可以很方便地分享给其他朋友看自己的测评数据 :

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh
sudo bash ZBench-CN.sh
#项目:https://github.com/FunctionClub/ZBench

speedtest-cli

一键带宽检测工具:speedtest-cli

安装命令:

sudo apt-get update
apt-get install python-pip
sudo pip install speedtest-cli

#CentOS
yum update
yum -y install epel-release
yum install python-pip
pip install speedtest-cli

使用方法:

speedtest-cli
#后面也可以接以下参数:
-h, --help show this help message and exit 
--share 分享你的网速,该命令会在speedtest网站上生成网速测试结果的图片。 
--simple Suppress verbose output, only show basic information 
--list 根据距离显示speedtest.net的测试服务器列表。 
--server=SERVER 指定列表中id的服务器来做测试。 
--mini=MINI URL of the Speedtest Mini server 
--source=SOURCE Source ip address to bind to 
--version Show the version number and exit

mPing

一键测试回程Ping值工具:mPing

wget https://raw.githubusercontent.com/helloxz/mping/master/mping.sh
bash mping.sh

参数说明:

x% packet loss: 丢包率
min: 最低延迟
avg: 平均延迟
max: 最高延迟
mdev: 平均偏差

LemonBench

LemonBench 工具(别名LBench、柠檬Bench),是一款针对Linux服务器设计的服务器性能测试工具。通过综合测试,可以快速评估服务器的综合性能,为使用者提供服务器硬件配置信息。

#LemonBench 国内版:
curl -fsL https://ilemonra.in/LemonBench | sudo bash -s fast
#LemonBench 国际版:
curl -fsL https://ilemonra.in/LemonBenchIntl | sudo bash -s fast

评论已关闭。