LinuxCommandLibrary

vcgencmd

Query Raspberry Pi hardware status

TLDR

List all commands

$ vcgencmd commands
copy
Print CPU temperature
$ vcgencmd measure_temp
copy
Print voltage
$ vcgencmd measure_volts
copy
Print throttled state
$ vcgencmd get_throttled
copy
Print bootloader config
$ vcgencmd bootloader_config
copy
Display help
$ vcgencmd --help
copy

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 commands
measure_temp
Print current CPU temperature
measure_volts
Print current voltage
get_throttled
Print throttled state as bit pattern
bootloader_config
Print bootloader configuration (Pi 4 only)
get_config OPTION
Get configuration value
version
Print firmware version

CAVEATS

Raspberry Pi specific. Some commands only available on certain models. Bootloader commands require Pi 4 or newer.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community