Last active
February 20, 2019 18:30
-
-
Save flatlinebb/4195ed169aafc24b1e8c62bf091e2de8 to your computer and use it in GitHub Desktop.
SMART Scripts
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 -t short $sd; done |
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 |
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
watch -c -n 1 -d --exec ./smart-test-status-all.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment