CPU Ryzen 1700 temperature monitoring lm_sensors & Conky in Linux Mint Cinnamon 18.3

My computer: motherboard MSI B350 TOMAHAWK, processor AMD Ryzen 7 1700 Eight-Core, 16Gb RAM, graphics card NVIDIA GeForce GT 730 with 2Gb memory and solid state drive 250Gb. The operating system Linux Mint Cinnamon 18.3 x64 rus is installed.

Full details at: https://linux-hardware.org/index.php?probe=a46305d3d4
It is necessary to configure monitoring of the CPU temperature in the Conky program. This program I chose because of its beauty and convenience of customization.
Screenshot at the end of the publication.
On older computers, for example, with the Atom D525 processor, this task is solved by installing the lm-sensors utility. The sensors command displays a list of sensors, including temperature sensors:

AtomSSD ~ # sensors
Adapter: Virtual device
temp1:       +60.0°C  (crit = +256.0°C)
temp2:       +53.0°C  (crit = +110.0°C)
temp3:       +48.0°C  (crit = +105.0°C)
temp4:       +27.3°C  (crit = +110.0°C)
temp5:       +55.0°C  (crit = +110.0°C)

Adapter: ISA adapter
Core 0:      +54.0°C  (crit = +100.0°C)
Core 1:      +49.0°C  (crit = +100.0°C)

The temp1-5 sensors do not interest us. The sensor of the processor is defined as Core 0 (for dual-core processors, Core 1 and so on should be defined as well). It remains only to correct the configuration file Conky (in my case it is “conky lmc-18-eng”), located in the home directory /home/wlad/.conky.
In this file we specify the command “execi”, the measurement period “10” in seconds and the “sensors” command, from which we select “grep”, the name of the string “Core 0” and the selection of symbols from it “cut -c14-20”:

$Температура CPU: ${execi 10 sensors | grep ‘Core 0’ | cut -c14-20}

The display shows: “CPU temperature: + 54.0 ° C” (naturally, without quotes).
By the way, in the picture is a screenshot of the new computer. The temperature is displayed by the string Conky:

$ Processor temperature: + 54.0 ° C

because the sensors command does not see the sensors:

RyzenSSD ~ # sensors
No sensors found!
Make sure you have loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

That is the problem. Search the Internet did not give anything.
In Windows 10 professional x64 rus, the processor temperature output is without problems, for example, in the AIDA64 Business program.
I ask you to solve this problem, please write the result, including by e-mail: [private information removed by moderator]

Hi @bruswlad,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our Community organized so users can more easily find information.

As you’ll notice, your Topic is now in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Let me know if you have any other questions or if I can help with anything else.


You need to compile and install an updated module for your motherboard chip to enable Ryzen monitoring.

The most common one is:


Also for Ryzen motherboards but less common is:


Here is a bit outdated guide for doing this:


I have it working pretty well but YMMV. Good luck!