CPU
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}'
主板
/opt/vc/bin/vcgencmd measure_temp
CPU
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}'
主板
/opt/vc/bin/vcgencmd measure_temp
转载于:https://www.cnblogs.com/hamy/p/3811837.html