Install CPU temperature checking utility - not working on one PC

Bo Berglund bo.berglund at gmail.com
Wed Nov 17 13:09:39 UTC 2021


I wanted to have a check for the CPU temperature like I have on Windows by using
CoreTemp.
After googling I found this:
https://www.cyberciti.biz/faq/how-to-check-cpu-temperature-on-ubuntu-linux/
And it says that this should do the trick:

sudo apt update
sudo apt full-upgrade

sudo apt install lm-sensors
sudo sensors-detect

Then using it is like this:

$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +64.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:       +62.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:       +70.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:       +62.0°C  (high = +84.0°C, crit = +100.0°C)

BAT0-acpi-0
Adapter: ACPI interface
in0:          12.46 V
curr1:         0.00 A

nouveau-pci-0100
Adapter: PCI adapter
GPU core:    850.00 mV (min =  +0.80 V, max =  +1.00 V)
temp1:        +64.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +58.0°C  (crit = +127.0°C)
temp2:        +47.0°C  (crit = +127.0°C)
temp3:        +37.0°C  (crit = +128.0°C)
temp4:        +50.0°C  (crit = +127.0°C)
temp5:         +0.0°C  (crit = +115.0°C)
temp6:        +38.2°C  (crit = +128.0°C)
temp7:        +64.0°C  (crit = +128.0°C)
temp8:        +68.0°C  (crit = +128.0°C)
temp9:         +0.0°C  (crit = +128.0°C)
temp10:       +59.0°C  (crit = +128.0°C)

So this looks like it is what I need, BUT:

It *only* worked on two HP Elitebook workstations with Intel CPU!

On my Lenovo PC which has an AMD CPU I get this, where the core temps are
missing:

$ sensors
amdgpu-pci-0400
Adapter: PCI adapter
vddgfx:           N/A
vddnb:            N/A
edge:         +59.0°C  (crit = +80.0°C, hyst =  +0.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +59.0°C  (high = +70.0°C)
Tctl:         +59.0°C

So what am I missing here?
Is the temp info missing on AMD CPU:s?

Note: I have installed Ubuntu Desktop 20.04 on the HP machines but Ubuntu Server
20.04 on the Lenovo PC.
So the failing machine has no desktop at all.


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list