vcgencmd
Query Raspberry Pi hardware status
TLDR
List all commands
$ vcgencmd commands
Print CPU temperature$ vcgencmd measure_temp
Print voltage$ vcgencmd measure_volts
Print throttled state$ vcgencmd get_throttled
Print bootloader config$ vcgencmd bootloader_config
Display help$ vcgencmd --help
SYNOPSIS
vcgencmd COMMAND
DESCRIPTION
vcgencmd prints system information for a Raspberry Pi. It interfaces with the VideoCore GPU to query hardware status, temperature, voltage, and configuration.
The command provides diagnostic information useful for monitoring Raspberry Pi health and troubleshooting.
COMMANDS
commands
List all available commandsmeasure_temp
Print current CPU temperaturemeasure_volts
Print current voltageget_throttled
Print throttled state as bit patternbootloader_config
Print bootloader configuration (Pi 4 only)get_config OPTION
Get configuration valueversion
Print firmware version
CAVEATS
Raspberry Pi specific. Some commands only available on certain models. Bootloader commands require Pi 4 or newer.
SEE ALSO
raspi-config(1), raspinfo(1)
