VPS 常用测试脚本库

平时测试VPS的时候,收集了各种各样的脚本,现在共享出来给大家,有兴趣自行取用。

综合测试类

wget freevps.us/downloads/bench.sh -O - -o /dev/null|bash
wget -qO- bench.sh | bash
wget http://soft.laozuo.org/scripts/superbench.sh
chmod +x superbench.sh
./superbench.sh
 wget https://makeai.cn/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh

带宽测试类

wget -O speedtest-cli https://raw.githubusercontent.com/wn789/speedtest-cli/master/speedtest.py
chmod +x speedtest-cli
./speedtest-cli

内存检测类

#CentOS / RHEL
yum install wget -y
yum groupinstall "Development Tools" -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out
#Ubuntu / Debian
apt-get update
apt-get install wget build-essential -y
wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp
gcc -l stdc++ memtester.cpp
./a.out

硬件性能类

wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh
chmod +x unixbench.sh
./unixbench.sh

路由测试类

https://cdn.ipip.net/17mon/besttrace4linux.zip

unzip besttrace4linux.zip

./besttrace -q 1 这里是目标IP
Like
Like Love Haha Wow Sad Angry
21

《VPS 常用测试脚本库》有一个想法

发表评论

电子邮件地址不会被公开。 必填项已用*标注