VPS测评常用的脚本 命令

整理了一些我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 share
VPS性能测试: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/meminfo
Linux真正占用的内存
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=0
bs=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
小车博客下载必看

给TA打赏
共{{data.count}}人
人已打赏
大杂烩

宝塔服务器磁盘爆满处理方法

2020-8-1 10:31:57

大杂烩

什么是KVM VPS?优势与技术讲解

2020-8-5 10:25:47




重要声明

本站资源来自会员发布以及互联网收集,不代表本站立场,如有侵犯你的权益请联系管理员-车车站内发信联系 我们会第一时间进行审核删除。站内资源为网友个人学习或测试研究使用,未经原版权作者许可,禁止用于任何商业途径!请用户仔细辨认内容的真实性,避免上当受骗!本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。请在下载24小时内删除!


如果遇到付费才可观看的文章,建议升级终身VIP。全站所有资源任意下免费看”。本站资源少部分采用7z压缩,为防止有人压缩软件不支持7z格式,7z解压,建议下载7-zip,zip、rar解压,建议下载WinRAR

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索