Linux 磁盘性能测试语句

1.    读性能测试命令:

dd iflag=direct if=/home/zhouyan/1.dat of=/dev/null bs=2M count=500


2.    写性能测试命令:

dd oflag=direct if=/dev/zero of=/home/zhouyan/2.dat bs=2M count=500


3.    读写性能测试命令:

dd iflag=direct oflag=direct if=/home/zhouyan/1.dat of=/home/zhouyan/2.dat bs=2M count=500

猜你喜欢

转载自blog.csdn.net/java2000_net/article/details/6558076