Disk

From Linuxintro

A disk is a device to store data, e.g. a compact disk or a hard disk. See http://en.wikipedia.org/wiki/Disk. Disk related commands:

hwinfo --block
hwinfo --partition

Get information

hdparm -I /dev/hda

Find out throughput

# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   20114 MB in  2.00 seconds = 10071.18 MB/sec
 Timing buffered disk reads: 754 MB in  3.00 seconds = 251.23 MB/sec

Hibernate hard disk

hdparm -S60 /dev/hda

Standby

hdparm -y /dev/hda