Created
March 2, 2017 09:24
-
-
Save aceqbaceq/3f4a6d5393e8dd990e685b62d27bed8a to your computer and use it in GitHub Desktop.
smartctl , list health status of disks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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