Skip to content

vcgencmd

16 commands

Queries the Raspberry Pi’s VideoCore firmware: temperature, clock speeds, voltages, throttling state and memory split.

  • Raspberry Pi
  • hardware
  • monitoring

Install vcgencmd

sudo apt install libraspberrypi-bin

Health5

vcgencmd measure_temp

SoC temperature. The Pi starts throttling at about 80 °C.

vcgencmd get_throttled

Throttling flags as a hex bitmask. 0x0 is healthy; bit 0 is under-voltage now, bit 2 throttled now, bit 16 under-voltage has occurred since boot.

vcgencmd measure_volts core

Core voltage. Also accepts sdram_c, sdram_i and sdram_p.

watch -n 1 vcgencmd measure_temp

Watches temperature once a second, for example during a stress test.

Link
vcgencmd pmic_read_adc

Raw PMIC voltages and currents on the Raspberry Pi 5.

Link

Clocks4

vcgencmd measure_clock arm

Current ARM CPU frequency in Hz.

vcgencmd measure_clock core

GPU core frequency.

for c in arm core h264 isp v3d uart emmc; do echo "$c: $(vcgencmd measure_clock $c)"; done

Prints every major clock.

Link
vcgencmd get_config arm_freq

Configured maximum ARM frequency from config.txt.

Link

Memory and firmware7

vcgencmd get_mem arm

Memory available to the ARM CPU.

vcgencmd get_mem gpu

Memory reserved for the GPU.

vcgencmd version

Firmware build date and version.

Link
vcgencmd get_config int

Every integer setting the firmware loaded from config.txt.

vcgencmd codec_enabled H264

Whether a hardware codec is enabled.

Link
vcgencmd display_power 0

Turns HDMI output off; 1 turns it back on.

Link
vcgencmd otp_dump

One-time-programmable memory, including the board serial and revision.

Link