Forrest logo
back to the vcgencmd tool

vcgencmd:tldr:85b47

vcgencmd: Print the current CPU temperature.
$ vcgencmd measure_temp
try on your machine

The command "vcgencmd measure_temp" is used to measure the temperature of the Raspberry Pi's central processing unit (CPU).

When executed in the terminal, it retrieves the current temperature of the CPU in degrees Celsius. This is useful for monitoring the temperature of the Raspberry Pi to ensure it is operating within safe limits and to identify potential overheating issues.

The "vcgencmd" tool is specific to Raspberry Pi devices and provides various commands to access system information and control certain aspects of the device. In this case, "measure_temp" is a specific command that retrieves the CPU temperature.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the vcgencmd tool