Skip to content

Contents

查看温度

image.png

cat /sys/devices/virtual/thermal/thermal_zone0/temp
cat /sys/devices/virtual/thermal/thermal_zone1/temp
cat /sys/devices/virtual/thermal/thermal_zone2/temp
cat /sys/devices/virtual/thermal/thermal_zone3/temp
cat /sys/devices/virtual/thermal/thermal_zone4/temp
cat /sys/devices/virtual/thermal/thermal_zone5/temp
cat /sys/devices/virtual/thermal/thermal_zone6/temp

image.png

Sample mitigation

  • To perform thermal mitigation, cap the maximum frequency of the CPU cores. The maximum frequency is written to the sysfs entries at:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq