CPU Temp - Which thermal_zone?

On my NUC this command:
cat /sys/class/thermal/thermal_zone*/temp

gives this output

-263200
27800
33000
36000
37000

So which zone is giving me the CPU temperature?
(And what is zone 0 telling me? Surely not a temperature of -263.2 degC ??!!)

Using this command will tell you more about each one (replace * with 0, 1, 2, 3 or 4).

cat /sys/class/thermal/thermal_zone*/type

e.g.

core-ssh:~# cat /sys/class/thermal/thermal_zone0/type
acpitz
core-ssh:~# cat /sys/class/thermal/thermal_zone1/type
acpitz
core-ssh:~# cat /sys/class/thermal/thermal_zone2/type
x86_pkg_temp
core-ssh:~# cat /sys/class/thermal/thermal_zone3/type
cat: can't open '/sys/class/thermal/thermal_zone3/type': No such file or directory
core-ssh:~#

x86_pkg_temp is the CPU package temperature

12 Likes