Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Memory calculation in cPanel !?

Discussion in 'General Discussion' started by mOdY, Jan 12, 2007.

  1. mOdY

    mOdY Well-Known Member

    Dec 25, 2004
    Likes Received:
    Trophy Points:

    I wonder how cpanel calculates memory and where exactly is it getting this information from :)

    I see it reporting on one of the boxes "Memory Used 25.9 %" although when i do "$free -m" i get this..

    ____ total used free shared buffers cached
    Mem: 4945 4817 128 0 417 3142
    -/+ buffers/cache: 1256 3689
    Swap: 8001 0 8001

    The only thing i rely on getting information about memory usage/status is from /proc/meminfo so i think this is totally odd.

  2. Rave5

    Rave5 Member

    Nov 29, 2003
    Likes Received:
    Trophy Points:
    Cached memory can be considered free, as it's where recent files and such have been cached to reduce disk seeks. Whenever an application needs the memory the cache is using, it's immediately allocated to the application, therefore you can consider it to be free.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice