board_android-IoT/raspberry_pi3
2017. 5. 3. 18:16
https://www.cyberciti.biz/faq/linux-find-out-raspberry-pi-gpu-and-arm-cpu-temperature-command/
#!/bin/bash # Script: my-pi-temp.sh # Purpose: Display the ARM CPU and GPU temperature of Raspberry Pi 2/3 # Author: Vivek Gite <www.cyberciti.biz> under GPL v2.x+ # ------------------------------------------------------- cpu=$(</sys/class/thermal/thermal_zone0/temp) echo "$(date) @ $(hostname)" echo "-------------------------------------------" echo "GPU => $(/opt/vc/bin/vcgencmd measure_temp)" echo "CPU => $((cpu/1000))'C"
chmod +x my-pi-temp.sh
./my-pi-temp.sh
'board_android-IoT > raspberry_pi3' 카테고리의 다른 글
RaspberryPi3 Qt cross-compile environment in windows (0) | 2019.04.16 |
---|---|
omxplayer Video Play in Vertical (0) | 2017.06.16 |
raspberry pi2 webrtc camera (0) | 2017.04.13 |
disable the blank screen (0) | 2017.04.13 |
install python3.5 for glances as a system monitoring tool (0) | 2017.04.11 |