使用hdparm命令
这是一个是用来获取ATA/IDE硬盘的参数的命令,是由早期Linux IDE驱动的开发和维护人员 Mark Lord开发编写的( hdparm has been written by Mark Lord <mlord@pobox.com>, the primary developer and maintainer of the (E)IDE driver for Linux, with suggestions from many netfolk).该命令应该也是仅用于Linux系统,对于UNIX系统,ATA/IDE硬盘用的可能比较少,一般大型的系统都是使用磁盘阵列的.
使用方法很简单
[root@mail ~]# hdparm -Tt /dev/vda1
/dev/vda1:
Timing cached reads: 14706 MB in 1.99 seconds = 7373.88 MB/sec
Timing buffered disk reads: 272 MB in 3.01 seconds = 90.33 MB/sec
https://www.cnblogs.com/zackyang/archive/2011/08/30/2160167.html
菜单分类