树莓派 vcgencmd 常用命令查看硬件状态

几个常用的命令:

1、查看时钟频率,可查看 arm, core, h264, isp, v3d, uart, pwm, emmc, pixel, vec, hdmi, dpi 的频率

vcgencmd measure_clock <clock>

例如:

pi@raspberrypi:~ $ vcgencmd measure_clock arm
frequency(45)=600000000
pi@raspberrypi:~ $ vcgencmd measure_clock core
frequency(1)=250000000


2、查看硬件电压,可查看core, sdram_c, sdram_p 的电压

vcgencmd measure_volts <id>

例如:

pi@raspberrypi:~ $ vcgencmd measure_volts core
volt=1.2000V
pi@raspberrypi:~ $ vcgencmd measure_volts sdram_c
volt=1.2500V


3、查看 BCM2835 Soc 温度

vcgencmd measure_temp

显示如下:

pi@raspberrypi:~ $ vcgencmd measure_temp
temp=46.7'C


4、查看解码器是否开启

vcgencmd codec_enabled <codec>

解码器包括 H264, MPG2, WVC1, MPG4, WMV9等。


例如:

pi@raspberrypi:~ $ vcgencmd codec_enabled H264
H264=enabled
pi@raspberrypi:~ $ vcgencmd codec_enabled MPG2
MPG2=disabled


添加新评论 »