测试磁盘读写速度

测试磁盘只写

dd if=/dev/zero of=/tmp/test bs=8k count=3000000 conv=fdatasync

测试磁盘只读

dd if=/tmp/test of=/dev/null bs=8k count=300000

参数

if   读取文件

of   写入文件

bs  读写的块数

count  读写的次数

posted @ 2016-08-19 18:32  扛把子修BUG  阅读(680)  评论(0编辑  收藏  举报