之前有好多朋友也提问,本博客一些测评中使用的是那些脚本,其实博主在测评文章里也陆陆续续的分享过,不过不是所有的测评都会有人看的,所以今天把目前博主收集的一些脚本都分享一下,还会不间断的更新,所有的内容都是收集至网络,部分博主做了更改。
准备工作
在测试的过程中,出现命令不充在,一般情况下你首先要安装wget和curl
Centos安装命令
yum install wget -y
1 | yum install wget - y |
Debian/ubuntu安装命令
apt-get install wget -y
1 | apt - get install wget - y |
提示证书问题可以使用以下命令
bash <(wget --no-check-certificate -qO- https://github.com/Aniverse/inexistence/raw/master/inexistence.sh)
1 | bash < ( wget -- no - check - certificate - qO - https : //github.com/Aniverse/inexistence/raw/master/inexistence.sh) |
测配置脚本
柠檬脚本
可测试配置、IO、CPU、内存、路由
curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast
1 2 | curl - fsL https : //ilemonra.in/LemonBenchIntl | bash -s fast |
SuperBench
可测试配置、IO、网速等
wget -qO- --no-check-certificate https://raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash
1 2 | wget - qO - -- no - check - certificate https : //raw.githubusercontent.com/oooldking/script/master/superbench.sh | bash |
专业测硬盘脚本
测IO和网速(可直接测IPv6的网速,国外节点)
curl -sL yabs.sh | bash wget -qO- yabs.sh | bash
1 2 | curl - sL yabs . sh | bash wget - qO - yabs . sh | bash |
硬件跑分
wget --no-check-certificate https://github.com/teddysun/across/raw/master/unixbench.sh chmod +x unixbench.sh ./unixbench.sh
1 2 3 | wget -- no - check - certificate https : //github.com/teddysun/across/raw/master/unixbench.sh chmod + x unixbench . sh . / unixbench . sh |
独服测试硬件脚本
wget -q https://github.com/Aniverse/A/raw/i/a && bash a
1 | wget - q https : //github.com/Aniverse/A/raw/i/a && bash a |
测速脚本
柠檬和SuperBench都有一个测速脚本,不过都是基本的测试,节点很少。
superspeed
三网测速,可单独测试
bash <(curl -Lso- https://raw.githubusercontent.com/opear2008/superspeed/master/superspeed.sh) or bash <(curl -Lso- https://git.io/J1SEh)
1 2 3 | bash < ( curl - Lso - https : //raw.githubusercontent.com/opear2008/superspeed/master/superspeed.sh) or bash < ( curl - Lso - https : //git.io/J1SEh) |
superbenchpro
可测试配置、IO、跑分、网速
bash <(wget --no-check-certificate -O- https://dl.233.mba/sh/superbenchpro.sh)
1 2 | bash < ( wget -- no - check - certificate - O - https : //dl.233.mba/sh/superbenchpro.sh) |
路由测试
柠檬脚本可以直接测试路由
以下脚本可以直接测试三网路由,每个网络有三个节点
wget -qO- git.io/fphX1 | bash wget -qO- git.io/besttrace | bash
1 2 | wget - qO - git . io / fphX1 | bash wget - qO - git . io / besttrace | bash |
DD系统脚本
一脚本DD各种linux脚本
来至萌伽大佬
wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh
1 2 | wget -- no - check - certificate - O AutoReinstall . sh https : //git.io/AutoReinstall.sh && bash AutoReinstall.sh |
独服安装windows系统一键脚本
在kimsufi上安装Windows 2003系统
其他测试命令/脚本
查看CPU信息
cat /proc/cpuinfo
1 | cat / proc / cpuinfo |
内存检测脚本
CentOS
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
1 2 3 4 5 | 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
1 2 3 4 5 | 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 |
BBR一键安装脚本:https://www.771633.com/8611.htm
《VPS常用脚本大全,包含测配置、测速、DD系统,应有尽有》留言数:0