linux - Which of the below is my CPU temperature -


goal

measure cpu temperature of linux box.

work done till now

i have installed lm-sensors detect temperature , below output of command sensor:

root@xxxx-xx :# sensors  acpitz-virtual-0 adapter: virtual device temp1:        +66.0°c  (crit = +255.0°c)  k10temp-pci-00c3 adapter: pci adapter temp1:        +65.4°c  (high = +70.0°c)                        (crit = +100.0°c, hyst = +99.0°c)  radeon-pci-0008 adapter: pci adapter temp1:        +64.0°c  (crit = +120.0°c, hyst = +90.0°c)  radeon-pci-0100 adapter: pci adapter temp1:            n/a  (crit = +120.0°c, hyst = +90.0°c) 

the output of cat /proc/cpuinfo is:

processor   : 0 vendor_id   : authenticamd cpu family  : 21 model       : 16 model name  : amd a8-4500m apu radeon(tm) hd graphics stepping    : 1 microcode   : 0x6001116 cpu mhz     : 1400.000 cache size  : 2048 kb physical id : 0 siblings    : 4 core id     : 0 cpu cores   : 2 apicid      : 16 initial apicid  : 0 fpu     : yes fpu_exception   : yes cpuid level : 13 wp      : yes . . .  processor   : 1 vendor_id   : authenticamd cpu family  : 21 model       : 16 model name  : amd a8-4500m apu radeon(tm) hd graphics    stepping    : 1 microcode   : 0x6001116 cpu mhz     : 1400.000 cache size  : 2048 kb physical id : 0 siblings    : 4 core id     : 1 cpu cores   : 2 apicid      : 17 initial apicid  : 1 fpu     : yes fpu_exception   : yes cpuid level : 13 wp      : yes   processor   : 2 vendor_id   : authenticamd cpu family  : 21 model       : 16 model name  : amd a8-4500m apu radeon(tm) hd graphics    stepping    : 1 microcode   : 0x6001116 cpu mhz     : 1400.000 cache size  : 2048 kb physical id : 0 siblings    : 4 core id     : 2 cpu cores   : 2 apicid      : 18 initial apicid  : 2 fpu     : yes fpu_exception   : yes cpuid level : 13 wp      : yes   processor   : 3 vendor_id   : authenticamd cpu family  : 21 model       : 16 model name  : amd a8-4500m apu radeon(tm) hd graphics    stepping    : 1 microcode   : 0x6001116 cpu mhz     : 1400.000 cache size  : 2048 kb physical id : 0 siblings    : 4 core id     : 3 cpu cores   : 2 apicid      : 19 initial apicid  : 3 fpu     : yes fpu_exception   : yes cpuid level : 13 wp      : yes 

question

out of above readings command sensor , cat /proc/cpuinfo, not sure my cpu temperature in output of sensors , 1 one relation between output of both commands (ie: field (ie:output of sensor) matches field of cat /proc/cpuinfo).

your cpu temperature shown k10 sensor, beware assumed inaccurate.

https://www.kernel.org/doc/documentation/hwmon/k10temp


Comments