摘要: linux磁盘读写压测脚本shell 新建fiotest.sh文件,把下面脚本复制进来。赋权,执行。 需要有fio命令, 执行: ./fiotest.sh ~/tmp 60 #!/bin/bash function usage(){ echo "sh $0 datadir runtime files 阅读全文
posted @ 2022-01-13 18:05 PahirdinYasin 阅读(554) 评论(0) 推荐(0)
摘要: redhat7.9 查看硬盘类型 cat /sys/block/sda/queue/rotational #0表明sda这块硬盘是固态硬盘(SSD) cat /sys/block/sdb/queue/rotational #1表明sdb这块硬盘是机械硬盘(HDD) 阅读全文
posted @ 2022-01-13 17:59 PahirdinYasin 阅读(966) 评论(0) 推荐(0)