1 方式一
cat /sys/class/thermal/thermal_zone0/temp
顯示數(shù)值除以1000便是CPU實時溫度(單位℃)牛隅。
連續(xù)查看:
watch -n 1 cat /sys/class/thermal/thermal_zone0/temp
2 方式二
vcgencmd measure_temp
watch -n 1 vcgencmd measure_temp
cat /sys/class/thermal/thermal_zone0/temp
顯示數(shù)值除以1000便是CPU實時溫度(單位℃)牛隅。
連續(xù)查看:
watch -n 1 cat /sys/class/thermal/thermal_zone0/temp
vcgencmd measure_temp
watch -n 1 vcgencmd measure_temp