Skip to content

Instantly share code, notes, and snippets.

@aceqbaceq
Created March 2, 2017 09:24
Show Gist options
  • Save aceqbaceq/3f4a6d5393e8dd990e685b62d27bed8a to your computer and use it in GitHub Desktop.
Save aceqbaceq/3f4a6d5393e8dd990e685b62d27bed8a to your computer and use it in GitHub Desktop.
smartctl , list health status of disks
# a=(a b k l m n o p q r s t c u v w x d e f g h i j)
# for v in ${a[@]}; do smartctl -H /dev/sd$v | grep -i health ;done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment