整理了一些我VPS测评时用到(常用的)脚本
VPS回程路由一键测试脚本
wget -qO- git.io/besttrace | bash
LemonBench 综合性能测试工具脚本
快速测试yum -y install wget wget -O- https://ilemonra.in/LemonBenchIntl | bash -s fast #或 apt-get install curl curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s fast #VPS小车博客备用 yum -y install wget wget -qO- https://downloads.zhuchunshu.com/LemonBenchIntl.sh | bash -s fast完整测试
yum -y install wget wget -O- https://ilemonra.in/LemonBenchIntl | bash -s full #或 apt-get install curl curl -fsL https://ilemonra.in/LemonBenchIntl | bash -s full #VPS小车博客备用 yum -y install wget wget -qO- https://downloads.zhuchunshu.com/LemonBenchIntl.sh | bash -s full
SuperBench
wget -qO- git.io/superbench.sh | bash使用参数的方法:
wget -qO- git.io/superbench.sh | bash -s info wget -qO- git.io/superbench.sh | bash -s io wget -qO- git.io/superbench.sh | bash -s speed wget -qO- git.io/superbench.sh | bash -s fast wget -qO- git.io/superbench.sh | bash -s shareVPS性能测试:CPU物理个数、内核、超线程、多核心 登录VPS界面,执行:
cat /proc/cpuinfo直接查看逻辑CPU的个数
cat /proc/cpuinfo |grep ‘physical id’ |sort |uniq直接查看CPU的型号
cat /proc/cpuinfo |grep ‘model name’ |sort |uniq单个CPU的内核数
cat /proc/cpuinfo |grep ‘cpu cores’ |sort |uniq总的CPU线程数
cat /proc/cpuinfo |grep ‘processor’查看购买的VPS主机的内存信息
cat /proc/meminfoLinux真正占用的内存
free –m测试VPS主机磁盘IO的性能可以执行以下两个命令
dd if=/dev/zero of=test bs=64k count=4k oflag=dsync dd if=/dev/zero of=test bs=8k count=256k conv=fdatasync生成1TB的超大文件
dd if=/dev/zero of=1T.img bs=1G seek=1024 count=0bs=1G表示每一次读写1G数据,count=0表示读写0次,seek=1024表示略过1024个Block不写,前面block size是1G,所以共略过1T! 这是创建大型sparse文件最简单的方法。 SSD硬盘速度测试
yum install hdparm -y fdisk -l hdparm -t /dev/hda
UnixBench跑分工具
wget https://teddysun.com/wp-content/uploads/unixbench.sh chmod +x unixbench.sh ./unixbench.sh
游客提醒:如果您是游客的状态下购买有几率导致不显示付费内容,这边建议您登录本站后购买!
本站支持QQ、百度一键登录,更多一键登录可私信客服添加
遇到了请不要着急可私信联系客服,客服会在第一时间补发给您
除去睡觉、午休和运动,每日可及时处理时段约为: 9:00—12:00 14:00—19:00 21:00—22:30
本站支持QQ、百度一键登录,更多一键登录可私信客服添加
遇到了请不要着急可私信联系客服,客服会在第一时间补发给您
除去睡觉、午休和运动,每日可及时处理时段约为: 9:00—12:00 14:00—19:00 21:00—22:30