Skip to content

Instantly share code, notes, and snippets.

@MartijnBraam
Created October 7, 2016 11:26
Show Gist options
  • Save MartijnBraam/fcd935be7d97c463fdaabecdf36300c2 to your computer and use it in GitHub Desktop.
Save MartijnBraam/fcd935be7d97c463fdaabecdf36300c2 to your computer and use it in GitHub Desktop.
root@roxxor:/tmp# python3 smarttab.py
Device Model Serial Temperature RSC RUE CT CPSC USC
/dev/sda ST1000DM003-1ER162 W4Y05GCZ 28 0 0 0 0 0
/dev/sdb ST1000DM003-1CH162 Z1D7SRWE 28 0 0 0 0 0
/dev/sdc Samsung SSD 840 EVO 250GB S1DBNEADA08322A . 0 0 . . .
/dev/sdd Crucial_CT250MX200SSD1 16041194A5BD 32 0 0 . 0 0
RSC : Reallocated Sectors Count
RUE : Reported Uncorrectable Errors
CT : Command Timeout
CPSC: Current Pending Sector Count
USC : Uncorrectable Sector Count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment