We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e56512 commit 397b4dfCopy full SHA for 397b4df
smartctl-helper
@@ -0,0 +1,6 @@
1
+#!/bin/bash
2
+
3
+smartctl --scan | awk '{ print $1 }' | while read dev; do
4
+ temp="$(smartctl -a $dev | grep "Temperature:" | awk '{ print $2 }')"
5
+ echo "$dev:$temp"
6
+done
0 commit comments