秀色娱乐论坛

 找回密码
 关闭注册
搜索
热搜: 活动 交友 discuz

社区广播台

查看: 5344|回复: 0
打印 上一主题 下一主题

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

[复制链接]

416

主题

422

帖子

1756

积分

管理员

Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20

积分
1756
跳转到指定楼层
楼主
发表于 2021-3-21 22:30:18 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1,LemonBench全能测试

参考脚本代码
  1. curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast

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

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

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

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

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

  7. wget -qO- https://ilemonrain.com/download/shell/LemonBench.sh | bash -s full
复制代码
2,内存检测脚本

#CentOS / RHEL
  1. yum install wget -y
复制代码
#Ubuntu / Debian
  1. apt-get update

  2. apt-get install wget build-essential -y

  3. wget https://raw.githubusercontent.com/FunctionClub/Memtester/master/memtester.cpp

  4. gcc -l stdc++ memtester.cpp

  5. ./a.out
复制代码
3,UnixBench性能测试
  1. wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh

  2. chmod +x unixbench.sh

  3. ./unixbench.sh
复制代码
4,24小时监测VPS延迟

#Debian / Ubuntu
  1. apt-get update
  2. apt-get install python wget screen -y
复制代码
#CentOS / RHEL
  1. yum install screen wget python -y
复制代码
安装完运行:
  1. screen -S uping

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

  3. python uping.py
复制代码
5,ZBench(系统信息+io+网速+延迟)
  1. wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
复制代码
6,三网speedtest
  1. bash <(curl -Lso- https://git.io/superspee)
复制代码

7,Bench.sh

秋水逸冰大佬的写的Bench.sh脚本
特点
  • 显示当前测试的各种系统信息;
  • 取自世界多处的知名数据中心的测试点,下载测试比较全面;
  • 支持 IPv6 下载测速;
  • IO 测试三次,并显示平均值。
  1. wget -qO- bench.sh | bash
复制代码

#或者
  1. curl -Lso- bench.sh | bash
复制代码

#或者
  1. wget -qO- 86.re/bench.sh | bash
复制代码


#或者
  1. curl -so- 86.re/bench.sh | bash
复制代码
8,SuperBench.sh
老鬼大佬的SuperBench测试脚本

特点
  • 改进了显示的模式,基本参数添加了颜色,方面区分与查找。
  • I/O测试,更改了原来默认的测试的内容,采用小文件,中等文件,大文件,分别测试IO性能,然后取平均值。
  • 速度测试替换成了 Superspeed 里面的测试,第一个默认节点是,Speedtest 默认,其他分别测试到中国电信,联通,移动,各三个不同地区的速度。
  1. wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
复制代码
#或者
  1. curl -Lso- -no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superb
复制代码
您需要登录后才可以回帖 登录 | 关闭注册

本版积分规则

快速回复 返回顶部 返回列表