CPU
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1/1000}'
主板
/opt/vc/bin/vcgencmd measure_temp