'Real Memory' shows a wrong 'used' result.
Comparisons with the top utility differ massively.
Affected are at least debian and suse. (os_type = debian-linux and os_type = suse-linux)
Status: open
Group: 1.900
Labels: System Information memory
Created: Fri Dec 28, 2018 08:09 AM UTC by Urban Oettli
Last Updated: Fri Dec 28, 2018 08:09 AM UTC
Owner: nobody
'Real Memory' shows a wrong 'used' result.
Comparisons with the top utility differ massively.
Affected are at least debian and suse. (os_type = debian-linux and os_type = suse-linux)
What "top" shows as Used is a bit misleading, as it includes memory that is just caching data from disk for improved performance. You have to subtract the "cached Mem" number to get actual usage by processes, which is what Webmin does.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But it is confusing when a lot of free memory is displayed but the system has swapping activated.
By definition, a system will only swap if there is insufficient physical memory available.
The displayed real memory bar is confusing.
A 'normal user' like me can only find a contradiction in it.
Visualizing the cached memory on the real memory bar, using a different color might be a solution.
Just a idea.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you post screenshots from "top" and Webmin so I can compare the difference?
Hi Jamie
Of course i can do that.
I applied the follwing Patch as a workaround. Of course it's the wrong place to solve the Problem well.
--- /usr/share/webmin/system-status/system-status-lib_Orig.pl 2018-11-16 16:22:27.000000000 +0100
+++ /usr/share/webmin/system-status/system-status-lib.pl 2018-12-26 12:00:19.000000000 +0100
@@ -43,6 +43,9 @@
$m[0] /= 1024;
$m[1] /= 1024;
}
}
The Status Display looks like this after.
Hop this help.
Cu Ubi
From: Jamie Cameron
Sent: Saturday, December 29, 2018 1:21 AM
To: [webadmin:bugs]
Subject: [webadmin:bugs] #5227 Status Display
Can you post screenshots from "top" and Webmin so I can compare the difference?
[bugs:#5227] Status Display
Status: open
Group: 1.900
Labels: System Information memory
Created: Fri Dec 28, 2018 08:09 AM UTC by Urban Oettli
Last Updated: Fri Dec 28, 2018 08:09 AM UTC
Owner: nobody
'Real Memory' shows a wrong 'used' result.
Comparisons with the top utility differ massively.
Affected are at least debian and suse. (os_type = debian-linux and os_type = suse-linux)
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/webadmin/bugs/5227/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs: #5227
Hi Jamie
I applied the follwing Patch as a workaround. Of course it's the wrong place to solve the Problem well.
--- /usr/share/webmin/system-status/system-status-lib_Orig.pl 2018-11-16 16:22:27.000000000 +0100
+++ /usr/share/webmin/system-status/system-status-lib.pl 2018-12-26 12:00:19.000000000 +0100
@@ -43,6 +43,9 @@
$m[0] /= 1024;
$m[1] /= 1024;
}
}
The Status Display looks like this after.
What "top" shows as Used is a bit misleading, as it includes memory that is just caching data from disk for improved performance. You have to subtract the "cached Mem" number to get actual usage by processes, which is what Webmin does.
But it is confusing when a lot of free memory is displayed but the system has swapping activated.
By definition, a system will only swap if there is insufficient physical memory available.
The displayed real memory bar is confusing.
A 'normal user' like me can only find a contradiction in it.
Visualizing the cached memory on the real memory bar, using a different color might be a solution.
Just a idea.
Yeah, maybe the right answer is for Webmin to show cached RAM as well.