运维系列:常用VPS测速脚本

1,LemonBench全能测试

参考脚本代码

curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

curl -fsSL https://ilemonrain.com/download/shell/LemonBench.sh | bash

wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash

curl -fsSL https://ilemonrain.com/download/shell/LemonBench.sh | bash -s fast

curl -fsSL https://ilemonrain.com/download/shell/LemonBench.sh | bash -s full

wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash -s fast

wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash -s full

 

2,内存检测脚本

#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

 

3,UnixBench性能测试

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

chmod +x unixbench.sh

./unixbench.sh

 

4,24小时监测VPS延迟

#Debian / Ubuntu

 

apt-get update

apt-get install python wget screen -y

 

#CentOS / RHEL

 

yum install screen wget python -y

 

安装完运行:

screen -S uping

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/uPing/master/uping.py

python uping.py

 

5,ZBench(系统信息+io+网速+延迟)

wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

6,三网speedtest

bash <(curl -Lso- https://git.io/superspeed)

 

版权声明:东成西就 发表于 2020-10-15 17:51:43。
转载请注明:运维系列:常用VPS测速脚本 | 云知道

暂无评论

暂无评论...