平时测试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
发表回复