Bug 438554

Summary: No more load average in plasmoid
Product: [Applications] plasma-systemmonitor Reporter: Sébastien P. <sebastien.picavet>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: ahiemstra, nate, plasma-bugs
Priority: NOR Keywords: regression
Version: 5.21.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.23
Attachments: Screenshot

Description Sébastien P. 2021-06-13 14:08:23 UTC
SUMMARY
I have upgraded from 5.20.5 to 5.21.5 (and Framework from 5.80.0 to 5.82.0 but not sure is does matter).
My load average sensor does not work anymore. It is just empty. I took a look to the configuration settings and do not any “load average” in sensor field/textual sensor field.
So I can not select it.


STEPS TO REPRODUCE
1. Create a monitor
2. Open configuration settings
3. Go to sensor detail
4. Search for load average

OBSERVED RESULT
No load average sensor available

EXPECTED RESULT
Load average present in selector

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-06-15 20:13:30 UTC
Can you provide a screenshot?
Comment 2 Sébastien P. 2021-06-17 17:58:48 UTC
Created attachment 139444 [details]
Screenshot

When I want to select a sensor, I have the category:
* ACPI;
* Processors;
* Disks;
* GPU;
* Harware sensors;
* Memory;
* Network;
* OS;
* Ernergy;
* System;
* Availability.

No one contain a “load average” sensor.

The selected sensor (empty purple square) is probably my old load average sensor.
Comment 3 Bug Janitor Service 2021-07-02 10:22:38 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/ksystemstats/-/merge_requests/7
Comment 4 David Redondo 2021-07-16 13:43:28 UTC
Git commit 5f93a3fc63dd35c68c15289c6293e5cde6a4c68c by David Redondo.
Committed on 16/07/2021 at 13:27.
Pushed by davidre into branch 'master'.

Add load averages sensors

Available in their own object in the cpu plugin
FIXED-IN:5.23

M  +1    -1    plugins/cpu/CMakeLists.txt
M  +6    -2    plugins/cpu/freebsdcpuplugin.cpp
M  +2    -0    plugins/cpu/freebsdcpuplugin.h
M  +6    -2    plugins/cpu/linuxcpuplugin.cpp
M  +2    -0    plugins/cpu/linuxcpuplugin.h
A  +45   -0    plugins/cpu/loadaverages.cpp     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]
A  +22   -0    plugins/cpu/loadaverages.h     [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)]

https://invent.kde.org/plasma/ksystemstats/commit/5f93a3fc63dd35c68c15289c6293e5cde6a4c68c
Comment 5 Sébastien P. 2022-01-02 15:10:52 UTC
Thanks David!