Storage Location of CPU Temp

gsd2012

Member
Apr 16, 2012
13
0
21
I am trying to locate where it stores the CPU Temp in Proxmox. Must Linux systems store it in /sys/class/thermal/thermal_zone0/temp or something close to that. I can find the cat /sys/class/thermal/ directory but it is different than other Linux systems. I can see a cat /sys/class/thermal/cooling_device0 & cooling_device1 but cannot find the temperature readings in them. New to Proxmox so not sure where to find it. Can do a watch -n 1 sensors to see the temp but I would think it stores that some where.
 
Ok how do I install the lmsensors part and will it give me a directory to put the temperature file in?
 
Didn't get cut off, that is the command. Here it is again.

paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'
 
Didn't get cut off, that is the command. Here it is again.

paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'

Duh I see that now, long day. Thanks that did it perfect