flatlinebb
11/23/2018 - 7:45 AM

SMART Scripts

SMART Scripts

for sd in /dev/sd[a-z]; do echo $sd; smartctl -t short $sd; done
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
watch -c -n 1 -d --exec ./smart-test-status-all.sh