Ubuntu – Temperature monitoring help

cpumonitoringtemperature

I'm new to ubuntu and I'm having some trouble with reading temperatures on my system. I've tried using lm-sensors and psensors by following some guides with no luck. Ive also tried hardinfo which seems really nice and useful, when I use it to monitor my cpy temps I get the following info:

hardinfo sreenshot

Note: The pc has no problems detecting the cores or cpu usage.

When I run hardinfo from terminal I get this message as well:

hardinfo terminal

Related to the matter, but unrelated to ubuntu, the cpu temps on my computer runs really hot when I monitor it through the bios it goes from 35-45 celcius, I'm unsure if this is because the motherboard doesn't read the temperature right or if the cooler paste somehow was spread badly when I mounted my new cooler, it is a corsair 150i pro which comes with pre-applied cooler paste or lastly if the fans on it somehow doesn't spin fast enough (I'm assuming if the system cant read the cpu temperature it cant control the fan speed as necessary).

I understand if the second part is in the wrong forum but I would appreciate if I could get help for both since I think the problems are related.

Thanks in advance.

Edit:
I realized the temperature monitoring worked all along, it was just that it had(to me) a strange name – "k10temp_temp1" and there is, apparently, only 1 sensor on my cpu (ryzen 2700x) which was new to me coming from windows and intel.

Best Answer

There are text files containing temperature data here: /sys/devices/platform/coretemp.0/hwmon/hwmon[0-9]

The [0-9] is shown as a variable. There is actually just a single digit number there, that changes from from startup to startup.

I'm running Ubuntu on a Macbook Pro 2009 9dual core processor), and have found these two files to contain my two CPU core temperatures:

cpucoretemp0 -> /sys/devices/platform/coretemp.0/hwmon/hwmon[0-9]/temp2_input

cpucoretemp1 -> /sys/devices/platform/coretemp.0/hwmon/hwmon[0-9]/temp3_input
Related Question