Difference between revisions of "Disk"
From Linuxintro
imported>ThorstenStaerk |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
Disk related commands: | Disk related commands: | ||
hwinfo --[[block]] | hwinfo --[[block]] | ||
− | hwinfo -- | + | hwinfo --partition |
= Get information = | = Get information = | ||
Line 8: | Line 8: | ||
= Find out throughput = | = Find out throughput = | ||
− | hdparm -tT /dev/ | + | # 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 = | = Hibernate hard disk = | ||
hdparm -S60 /dev/hda | hdparm -S60 /dev/hda | ||
+ | |||
+ | = Standby = | ||
+ | hdparm -y /dev/hda |
Latest revision as of 10:05, 9 August 2015
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