Raspberry Pi: CPU/GPU Temperature Monitor

Max operating temperature of Raspberry Pi is 85°C.

If the temperature exceeds 82°C, then the CPU’s clock speed will be slowed until the temperature drops below 82°C.

So it is very important to monitor the temperature of the board and Raspberry Pi has a built-in sensor for this.

In this note i will show how to check the CPU/GPU temperature of Raspberry Pi.

Cool Tip: Shutdown & reboot Raspberry Pi safely! Read more →

Check Temperature of Raspberry Pi

Measure the GPU temperature:

$ vcgencmd measure_temp

– or –

/opt/vc/bin/vcgencmd measure_temp

Check the CPU temperature:

$ echo temp=$((`cat /sys/class/thermal/thermal_zone0/temp`/1000)).0\'C

The CPU/GPU temperature of Raspberry Pi can be monitored using watch command.

For example, to show the GPU temperature of Raspberry Pi each 5 seconds, execute:

$ watch -n5 vcgencmd measure_temp