Topic
  • 2 replies
  • Latest Post - ‏2013-08-01T06:07:17Z by MrBhatt
Pave1
Pave1
45 Posts

Pinned topic System vrs Process memory

‏2013-07-30T20:57:07Z |

Hi,

I am trying to figure out how to get numbers for System and Process memory usage without nmon.

Trying svmon -G but do not see there anything like that and even when do some maths with svmon numbers than nothing gives me percentage which nmon shows.

If there any way to obtain System and Process mem allocation without nmon?

nmon says:
    FileSystemCache
    (numperm) 12.5%
    Process   52.0%
    System    33.1%
    Free       2.4%     

$ svmon -G -O unit=MB
Unit: MB
--------------------------------------------------------------------------------------
               size       inuse        free         pin     virtual  available   mmode
memory      3072.00     2998.07        73.9     1110.81     2978.17     360.29     Ded
pg space    4096.00      724.10

               work        pers        clnt       other
pin          914.06           0           0      196.75
in use      2591.31           0      406.75

 

Thanks,

Pavel

  • MrBhatt
    MrBhatt
    11 Posts

    Re: System vrs Process memory

    ‏2013-08-01T05:13:18Z  

    Hi Pave,

    Following in an excerpt from infocenter, am sure you would find it relevant

    http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fsvmon_command.htm

     
    pin
    Detailed statistics on the subset of real memory containing pinned pages, shown in 4 KB frames.

     

    work
    Number of working pages pinned in RAM.
    pers
    Number of persistent pages pinned in RAM.
    clnt
    Number of client pages pinned in RAM.
    in use
    Detailed statistics on the subset of real memory in use, shown in 4 KB frames.

     

     

    work
    Number of working pages in RAM.
    pers
    Number of persistent pages in RAM.
    clnt
    Number of client pages in RAM (client page is a remote file page)

    Now since the above is known the calculation would go straight as following,
     

    %free = memory_free *100 / memory_size

    % comp = (work_inuse) * 100) / memory_size

    %non_comp=(pers+inuse+clnt_inuse) *100) / memory_size

     

    You might notice a small delta here for your observation with that of nmon....

     

    Updated on 2013-08-01T05:33:29Z at 2013-08-01T05:33:29Z by MrBhatt
  • MrBhatt
    MrBhatt
    11 Posts

    Re: System vrs Process memory

    ‏2013-08-01T06:07:17Z  
    • MrBhatt
    • ‏2013-08-01T05:13:18Z

    Hi Pave,

    Following in an excerpt from infocenter, am sure you would find it relevant

    http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.prftungd%2Fdoc%2Fprftungd%2Fsvmon_command.htm

     
    pin
    Detailed statistics on the subset of real memory containing pinned pages, shown in 4 KB frames.

     

    work
    Number of working pages pinned in RAM.
    pers
    Number of persistent pages pinned in RAM.
    clnt
    Number of client pages pinned in RAM.
    in use
    Detailed statistics on the subset of real memory in use, shown in 4 KB frames.

     

     

    work
    Number of working pages in RAM.
    pers
    Number of persistent pages in RAM.
    clnt
    Number of client pages in RAM (client page is a remote file page)

    Now since the above is known the calculation would go straight as following,
     

    %free = memory_free *100 / memory_size

    % comp = (work_inuse) * 100) / memory_size

    %non_comp=(pers+inuse+clnt_inuse) *100) / memory_size

     

    You might notice a small delta here for your observation with that of nmon....

     

    The size field of the svmon -G output shows the total amount of real memory on the system.

    The following svmon -G fields show how the memory is being used:


    -The free field displays the number of free memory frames

    -The work field in the in use row displays the number of memory frames containing working segment pages The pers field in the in use row displays the number of memory frames containing persistent segment pages

    -The clnt field in the in use row displays the number of memory frames containing client segment pages

    These four fields add up to the total real memory. (i.e = work_inuse+per_inuse+clnt_inuse+free = real)