iotop
Synonyms:
iotop is the right tool for monitoring hard performance.
Show my disks
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
sample output
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 256.2G
|-sda1 ext4 237M /boot
|-sda2 ext4 248.5G /
`-sda3 swap 7.5G [SWAP]
sdb linux_raid_member 5.5T
`-md0 ext4 21.9T /raid
sdc linux_raid_member 5.5T
`-md0 ext4 21.9T /raid
sdd linux_raid_member 5.5T
`-md0 ext4 21.9T /raid
sde linux_raid_member 5.5T
`-md0 ext4 21.9T /raid
sdf linux_raid_member 5.5T
`-md0 ext4 21.9T /raid
Install iotop
sudo apt install iotop
Use iotop
sudo iotop
alternative commands
dstat -D sda
iostat -xmd 1
watch -d iostat -xmdc 1 2
bwm-ng -i disk -t 2000
Smart Status
sudo apt install smartmontools
sudo smartctl --all /dev/sda
sudo smartctl --quietmode=errorsonly --all /dev/sda