Estimated read time: 1 minutes
here is a small cmdline to query the temperature of a hdd using smartctl:
smartctl -a /dev/hdc|grep Celsius|sed 's/.* \([0-9]*\)$/\1/'
Estimated read time: 1 minutes
smartctl -a /dev/hdc|grep Celsius|sed 's/.* \([0-9]*\)$/\1/'