Is there a way to get ISPConfig to show Monitor>Memory Usage in MB or GB?

Discussion in 'Installation/Configuration' started by adamjedgar, Mar 27, 2019.

  1. adamjedgar

    adamjedgar Member

    Hi guys,
    please see how my Monitor>Memory Usage displays below... (just showing the first handful of lines):

    MemTotal: 2101719040
    MemFree: 140189696
    MemAvailable: 850550784
    Buffers: 46817280
    Cached: 724140032
    SwapCached: 0

    Is there a way of changing this so it displays in MB or GB (i find it quite difficult to figure out what the actual memory usage is with so many numbers...i assume the current readout is in bytes?)
    Manu19 likes this.
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    Likely by changing the php which outputs that; it would be pretty simple to do, and likely accepted as a contribution to the upstream code if you made it, or be worth filing a feature request in the issue tracker at least.
    Yes, so divide by 1024 for kilobytes, divide by (1024*1024) for megabytes, and by (1024*1024*1024) for gigabytes.
    Manu19 likes this.

Share This Page