Menu

#5227 Status Display

1.900
open
nobody
5
2018-12-31
2018-12-28
Lnh
No

'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)

Related

Bugs: #5227

Discussion

  • Jamie Cameron

    Jamie Cameron - 2018-12-29

    Can you post screenshots from "top" and Webmin so I can compare the difference?

     
    • Lnh

      Lnh - 2018-12-29

      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;
      }

      • elsif ($gconfig{'os_type'} eq 'debian-linux') {
      • $m[1] = $m[0]-$m[1];
      • }
        }
        # CPU and kernel
        

      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

  • Lnh

    Lnh - 2018-12-29

    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;
    }

    • elsif ($gconfig{'os_type'} eq 'debian-linux') {
    • $m[1] = $m[0]-$m[1];
    • }
      }
      # CPU and kernel
      

    The Status Display looks like this after.

     
  • Jamie Cameron

    Jamie Cameron - 2018-12-29

    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.

     
  • Lnh

    Lnh - 2018-12-29

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2018-12-31

    Yeah, maybe the right answer is for Webmin to show cached RAM as well.

     

Log in to post a comment.

Auth0 Logo