Bug 421010

Summary: Total Memory is empty when detailed memory info can't be read
Product: [Unmaintained] ksysguard Reporter: Keith <keithhacks-kdebug>
Component: ksysguardAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: fonic.maxxim, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.18.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Keith 2020-05-04 16:53:02 UTC
SUMMARY
The "Total Memory" column is blank for processes where detailed memory information cannot be read, even though the "Memory" and "Shared Mem" columns are populated.

STEPS TO REPRODUCE
1. Start up a VirtualBox VM or a program as root.
2. Open KSysGuard.

OBSERVED RESULT
The "Total Memory" column is blank, so these processes appear at the bottom when sorted by memory usage.

EXPECTED RESULT
KSysGuard should fall back to `totalMem = mem + sharedMem` when it cannot determine how many processes are using the shared memory. "Total Memory" is already an estimate, so it simply doesn't make sense to give up instead of providing a less accurate guess.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon 5.18.4 User Edition
(available in About System)
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Comment 1 Fonic 2020-10-17 15:52:15 UTC
I have the same issue with one difference: for me, column 'Total Memory' is ALWAYS blank, I have never observed a value being displayed there.

Operating System: Gentoo Linux (amd64, stable)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1
Kernel Version: 5.4.66-gentoo
OS Type: 64-bit
Comment 2 Christoph Cullmann 2024-09-23 21:01:08 UTC
ksysguard is no longer maintained, in Plasma 6 there is the Plasma system monitor for this task.

If your wish is still valid for the Plasma 6 replacement, please re-open and we can move this bug to the new product, thanks!