关注互联网应用及运维技术的个人博客

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)

赞(0)
未经允许不得转载:飞天狒狒 » VPS日常维护中常用到的网速测试脚本

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址