Peter Bohner
Posts
Teaching
Notes
Get drive temperatures of all SATA HDDs
from August 11, 2024
-
23 words
as root:
for
i in /dev/sd?
;
do
echo
"
$i
:
$(
smartctl -A
$i
|
grep Celsius
|
cut -d
'-'
-f 2
)
"
;
done