Decode SMART attributes smartctl
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}'
more smartctl
all 3 commands →
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}'