Check temperature of Raspberry Pi CPU

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

CPU Temperature

vcgencmd measure_temp

Typical temperatures in office environment, with case:

Pi Modelheatsinkusagetemp [C]
2Byeslight-moderate40..45
4Bnolight-moderate65..70
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

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

Raspberry Pi 4

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

CPU clock

The current Raspberry Pi CPU speed (actual speed, not limits or requested speed) is obtained from

vcgencmd measure_clock arm

The output is in units of Hertz:

frequency(45)=1199998000

The Raspberry Pi CPU clock speed and power consumption is dynamic:

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

Log measurements

crontab -e 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.

Monitor Raspberry Pi DC input voltage