Linux如何获取CPU温度命令
1、直接读取系统来获取CPU温度信息。
cat /sys/class/thermal/thermal_zone0/temp
thermal_zone0 是cpu0
root@:/sys/devices/virtual/thermal/thermal_zone0$ ls
available_policies k_po policy temp
integral_cutoff k_pu slope type
k_d offset subsystem uevent
k_i passive sustainable_power
root@:/sys/devices/virtual/thermal/thermal_zone
看数字是73度