Check temperature of Raspberry Pi CPU

The vcgencmd utility allows reading a few dozen hardware measurements on the Raspberry Pi boards.

CPU Temperature is checked by:

vcgencmd measure_temp

Typical temperatures in office environment, with case:

Pi Modelheatsinkusagetemp [C]
4BnoYouTube 720p6085

A red thermometer icon GPU-superimposed on the Raspberry Pi display output means the Raspberry Pi is overheating and is throttling the CPU and GPU to avoid self-destruction.

Raspberry Pi 0, 1, 2, 3 temperature thresholds:

CPU temp. [C]iconthrottle
< 80nonenone
80 - 85
half full thermometer red
> 85
full thermometer red

Raspberry Pi 4 temperature thresholds:

CPU temp. [C]iconthrottle
80 - 85noneCPU: 1000 MHz
85 - 90
half full thermometer red
> 90
full thermometer red

The current Raspberry Pi CPU clock speed is obtained from

vcgencmd measure_clock arm

The output is in units of Hertz. The Raspberry Pi CPU clock speed and power consumption is dynamic:

clock speed [MHz]Raspi 2Raspi 3Raspi 3+Raspi 4
100% one or more cores900120014001500

Log temperature measurements with crontab -e. This can periodically log temperature and CPU frequency, e.g. add a line like:

@hourly  vcgencmd measure_temp | /usr/bin/logger

logger writes the measured parameters into the system log.

Related: Monitor Raspberry Pi DC input voltage