简单测试服务器磁盘读写速度

转自: https://blog.csdn.net/weiyuefei/article/details/51909055

 

安装hdparm

sudo apt-get install hdparm

 

查看磁盘

df -lh

 

测试读速度

sudo hdparm -t /dev/sda

 

测试写速度

sudo time dd if=/dev/zero bs=1024 count=1000000 of=/1Gb.file
posted @ 2020-01-02 12:00  不止于python  阅读(1844)  评论(0编辑  收藏  举报