smartctl
3 commands
3 shown
Run short self-test
Start SMART short self-test then read its log; non-destructive background test
smartctl -t short /dev/sda && sleep 120 && smartctl -l selftest /dev/sda
Decode SMART attributes
Tabulate raw SMART attribute values; watch Reallocated_Sector_Ct and Pending
smartctl -A /dev/sda | awk '$1~/^[0-9]+$/{printf "%-3s %-24s raw=%s\n",$1,$2,$10}'
Full health + error log
Full -x dump: health, attributes, error log, temp history; -d auto detects RAID/USB
smartctl -x -d auto /dev/sda | less
no commands match