Hardware Reference
In-Depth Information
Chapter 4
vcgencmd
Apart from the usual Linux commands that display status, the Raspberry Pi includes a
custom command named
vcgencmd
, which can report voltages and temperatures. This
chapter documents the known features of the command.
The executable file behind the command is
/usr/bin/vcgencmd
.
vcgencmd Commands
There is no man page for this command, but the list of all supported options can be
displayed with the
commands
option. The command output has been broken over several
lines for readability:
$ vcgencmd commands
commands="vcos, ap_output_control, ap_output_post_processing, \
pm_set_policy, pm_get_status, pm_show_stats, pm_start_logging, \
pm_stop_logging, version, commands, set_vll_dir, \
led_control, set_backlight, set_logging, get_lcd_info, \
set_bus_arbiter_mode, cache_flush, otp_dump, codec_enabled, \
measure_clock, measure_volts, measure_temp, get_config, \
hdmi_ntsc_freqs, render_bar, disk_notify, inuse_notify, \
sus_suspend, sus_status, sus_is_enabled, \
sus_stop_test_thread, egl_platform_switch, mem_validate, \
mem_oom, mem_reloc_stats, file, vctest_memmap, vctest_start, \
vctest_stop, vctest_set, vctest_get"
At the time of this writing, some of these options remained undocumented.
A summary list of options is itemized in Table
4-1
.