Bug 421010 - Total Memory is empty when detailed memory info can't be read
Summary: Total Memory is empty when detailed memory info can't be read
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksysguard
Classification: Unmaintained
Component: ksysguard (show other bugs)
Version: 5.18.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-04 16:53 UTC by Keith
Modified: 2024-09-23 21:01 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!