Cpu and Gpu temperature check

How to check cpu and gpu working temperature .

hi ,

on Rbian(Debian) Cli please use:

sudo cat /sys/devices/virtual/thermal/thermal_zone?/temp

This will output
sudo cat /sys/devices/virtual/thermal/thermal_zone?/temp
52222
51111

the first one is cpu temperature 52.222 degree C and
second one is gpu 51.111 degree C

Variants of above command :
? for all , thermal_zone?
replace :
0 for cpu , thermal_zone0 , sudo cat /sys/devices/virtual/thermal/thermal_zone0/temp

1 for gpu , thermal_zone1 , sudo cat /sys/devices/virtual/thermal/thermal_zone1/temp

Thanks how to check max shutdown temperature and where is it set ?

Please use this :

to check :
sudo cat /sys/class/thermal/thermal_zone0/trip_point_2_temp

edit it to set(needs expertise wrong settings may damage)

You can monitor the temperature of the CPU & GPU via tmon command

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/tools/thermal/tmon?id=v5.19.9

1 Like