Everything is in the topic.
I would like to make a script to report all of this monitoring.
I've found the command
for CPU temp, but sysctl seems reporting wrong temperature (around 40°C).
I'm pretty sure that my CPU (i3 2100) is more than 40°C, being that it's fanless cooled (Thermalright HR-02)
For HDD temp i found the command
How to monitor system (CPU, HDD, mobo, GPU) temperatures on FreeNAS 8?
I would like to make a script to report all of this monitoring.
I've found the command
Code (text):
- sysctl -a |egrep -E "cpu\.[0-9]+\.temp"
I'm pretty sure that my CPU (i3 2100) is more than 40°C, being that it's fanless cooled (Thermalright HR-02)
For HDD temp i found the command
Code (text):
- for i in $(sysctl -n kern.disks)
- do printf "%s\t%s\t%s\n" $i $(smartctl -a /dev/$i | awk '/Serial...