Ubuntu arm64のパッケージを入れる
$ wget https://launchpad.net/~ubuntu-raspi2/+archive/ubuntu/ppa/+files/libraspberrypi0_1.20161003.2350bf2-1_arm64.deb
$ wget https://launchpad.net/~ubuntu-raspi2/+archive/ubuntu/ppa/+files/libraspberrypi-bin_1.20161003.2350bf2-1_arm64.deb
$ dpkg -i libraspberrypi0_1.20161003.2350bf2-1_arm64.deb
$ dpkg -i libraspberrypi-bin_1.20161003.2350bf2-1_arm64.deb
vcgencmd get_config int
概要 | コマンド |
---|---|
コマンドリスト | vcgencmd commands |
config情報 | vcgencmd get_config int |
ファームウェアのバージョン | vcgencmd version |
CPU温度 | vcgencmd measure_temp |
CPU動作周波数 | vcgencmd measure_clock arm |
CPU動作電圧 | vcgencmd measure_volts |
ARMメモリ | vcgencmd get_mem arm |
GPUメモリ | vcgencmd get_mem gpu |
フレームバッファ | vcgencmd get_lcd_info |
参考: https://l-w-i.net/t/raspbian/hard_001.txt
温度とクロックの監視
$ while true; do vcgencmd measure_clock arm; vcgencmd measure_temp; sleep 1; done