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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!