Patrol for Linux - Calculation for Memory parameters in Linux KM?

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    PATROL for Linux


    APPLIES TO:

    PATROL for Linux 1.2



    QUESTION:

    How the below parameters are calculate in Linux KM?
    - Percent Of Memory Pages Used"(UsedPercent)
    - Memory Used By User Processes and Kernel (Excludes Buffers-Cache) (%)(ActualUsed)
    - Used Memory (MB)(Used)
    - Free memory (Free)


    ANSWER:

    1. Execute below Linux OS command.

    $cat /proc/meminfo

    2. Get "MemTotal", "MemFree", "MemAvailable" field value from the command output.

    3. Calculation method:

    Percent Of Memory Pages Used"(UsedPercent)  =  (MemTotal - MemFree) / MemTotal * 100

    Memory Used By User Processes and Kernel (Excludes Buffers-Cache) (%)(ActualUsed) = (MemTotal - MemAvailable) / MemTotal * 100

    Used Memory (MB)(Used) = (MemTotal – MemFree) / 1024

    Free memory (Free) = (MemFree) / 1024

     


    Article Number:

    000285101


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles