Created
November 22, 2018 22:20
-
-
Save flatlinebb/f1e4333fa30064abf657b411daa601ea to your computer and use it in GitHub Desktop.
SMART Test Status all drives (/dev/sd[a-z])
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
for sd in /dev/sd[a-z]; do echo $sd; smartctl -c $sd | grep Self-test | grep -v supported; smartctl -c $sd | grep remaining; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment