Linux测评所用相关脚本(转)

@Wen's  October 3, 2019

Liunx 下使用 SpeedTest 测速

wget https://raw.github.com/sivel/speedtest-cli/master/speedtest.py
chmod a+rx speedtest.py
python speedtest.py

路由回程测试脚本
wget https://raw.githubusercontent.com/nanqinlang-script/testrace/master/testrace.sh
bash testrace.sh

IO 测试相关脚本
wget -qO- bench.sh | bash
#或者
curl -Lso- bench.sh | bash
#或者
wget -qO- 86.re/bench.sh | bash
#或者
curl -so- 86.re/bench.sh | bash

Zbench
#中文版
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh &&bashZBench-CN.sh

#英文版
wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh &&bashZBench.sh

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

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

内存检测脚本
#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

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

查看 CPU 信息
cat /proc/cpuinfo


添加新评论