The program I know of to monitor temperature is lm-sensors.
I have opensuse 42.1 leap into a box and opensuse 13.2 in another box.
I searched the lmsensors program in both versions (42.1 and 13.2) of openSUSE and does not appear be installed. Nevertheless, in opensuse 13.2 there is a widget which shows the temperature of my processor
Iâm confused . How can the widgets display the temperature in 13.2, if there is no lmsensors intalled ?
Excuse for my English, Iâm trying to communicate âŚ
Opensuse 13.2 and also the Opensuse The Leap 42.1, does not have, on a clean installation, sensors installed
***but although they have not on a clean installation, sensors installed in opensuse 13.2 there is a widget ( in opensuse 13.2 ) that shows the temperature of my processor
Sensors is just an interface to the temperature sensors. The Temperature widget probably just access the hardware directly. Nothing at all magic about sensors package.
If you do sensors-detect it tells you what kernel driver it accesses, like Intel Coretemp driver in my case. The KDE widgets access the same driver, or the information is fed to them because theyâre a lot slower, less accurate to update than using the terminal command. You can watch the widget adjust to the sensors command when it updates.
The kernel has the necessary drivers - do read carefully the post from david_banner for explanation re âsensorsâ package versus the KDE widget.
Running sensors-detect scans your hardware and offers to set the results in a config file at /etc/sysconfig/lm_sensors.
I believe that systemd initializes the lm_sensors service (see YaST Services Manager) using that config file at system startup to load the required kernel modules. The service should be âEnabledâ and âActiveâ.
At the command line, âsensorsâ will display the status of the lm_sensors detected, and to provide continuous monitoring use âwatch sensorsâ (key Ctrl+Z to quit). The quote marks are not required.
| libsensors4 - Hardware health monitoring library
|
|
libsensors offers a way for applications to access the hardware monitoring chips of the system. A system-dependent configuration file controls how the different inputs are labeled and what scaling factors have to be applied for the specific hardware, so that the output makes sense to the user.
The above was taken from Yast information .
It explains also because I have âsensors3.confâ file in /etc
but if this is true, then what program I could use to read temperatures, without being widgets ???
Yes. You will need superuser privileges (administrator) to install the âsensorsâ package and to run the included âsensors-detectâ program, but your ordinary user can run the âsensorsâ and âwatch sensorsâ commands. The package also installs the systemd service for lm_sensors.
For âsensors-detectâ, it is normally safe to give default replies by just pressing enter to all questions (the program will also tell you that).
I canât see any Plasma 5 widgets for temperature sensors on my Leap installation. In that case, the only alternative I know is to use the command line package âsensorsâ as previously described. The displayed temperatures are the same as for the KDE4 widget - I have run both in parallel on 13.1 KDE4 recently.
libsensors4 is also installed on leap 42.1 by default equal to 13.2, and there widgets that can be downloaded and it shows, in spite of not working properly, the temperature. The name is âThermal Monitorâ by clearmartin.
Now look at the configuration options (click spanner) for that âThermal Monitorâ widget, it tells you the source itâs drawing from (for me: lmsensors/coretemp-isa-0000/core_0) - If you set it to âgroup sourcesâ and get it to monitor all your cores, it seems to take the average number between all cores. But there is definite lag there and it quite often misreads things.
Everything comes through accessing the relevant kernel driver, the widgets just arenât as accurate / efficient at updating real time temps as using the sensors / watch sensors command. How do I know? I dropped a new âoldâ i5-760 quad core in this box last week and needed to accurately monitor temperatures to see how efficient they were for (conservative) overclocking purposes, so Iâve got them all running side by side and am currently monitoring whatâs going on.
I have sensors, libsensors4, libsensors4-32bit, libqt5sensors5, libqt5sensors5-imports packages installed.
Perhaps reading information available on the internet may help to clarify or update the situation for you. For example: https://en.wikipedia.org/wiki/Lm_sensorsThe basic tools and drivers provided by lm_sensors include the library âlibsensorsâ for use by applications i.e. an application program interface (API). In the case of KDE4 that facility is provided by âlibsensors4â, and presumably used by the KDE4 widgets. Both cases will end up using a configuration file for your hardware and the same kernel drivers for your particular chip sensors.
KDE4 (now unsupported by KDE project) is replaced by Plasma5. They are very different desktop implementations. AFAICT widgets (programs) for displaying temperatures on Plasma5 are not yet available!
Much earlier, Malcolm gave you the command line solution available for any linux desktop that features a terminal. There is that solution now for your Leap 42.1/Plasma5. The rest of us are just trying to answer questions and provide additional info, that now seem to be going round in circles.