vcgencmd measure_tempSoC temperature. The Pi starts throttling at about 80 °C.
Queries the Raspberry Pi’s VideoCore firmware: temperature, clock speeds, voltages, throttling state and memory split.
sudo apt install libraspberrypi-binvcgencmd measure_tempSoC temperature. The Pi starts throttling at about 80 °C.
vcgencmd get_throttledThrottling 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 coreCore voltage. Also accepts sdram_c, sdram_i and sdram_p.
watch -n 1 vcgencmd measure_tempWatches temperature once a second, for example during a stress test.
vcgencmd pmic_read_adcRaw PMIC voltages and currents on the Raspberry Pi 5.
vcgencmd measure_clock armCurrent ARM CPU frequency in Hz.
vcgencmd measure_clock coreGPU core frequency.
for c in arm core h264 isp v3d uart emmc; do echo "$c: $(vcgencmd measure_clock $c)"; donePrints every major clock.
vcgencmd get_config arm_freqConfigured maximum ARM frequency from config.txt.
vcgencmd get_mem armMemory available to the ARM CPU.
vcgencmd get_mem gpuMemory reserved for the GPU.
vcgencmd versionFirmware build date and version.
vcgencmd get_config intEvery integer setting the firmware loaded from config.txt.
vcgencmd codec_enabled H264Whether a hardware codec is enabled.
vcgencmd display_power 0Turns HDMI output off; 1 turns it back on.
vcgencmd otp_dumpOne-time-programmable memory, including the board serial and revision.
The Raspberry Pi configuration tool, interactive or scriptable: enable interfaces, set locale, expand storage and tune boot options.
Reading and driving Raspberry Pi GPIO pins from the shell using pinctrl and the libgpiod utilities (gpiodetect, gpioget, gpioset).
Capture stills and video from Raspberry Pi camera modules with rpicam-still, rpicam-vid and friends (formerly libcamera-*).