AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Regarding AIX Memory Utilization usage calculation

  • 1.  Regarding AIX Memory Utilization usage calculation

    Posted Mon March 11, 2013 02:02 AM

    Originally posted by: IBMAIXMONITOR


    Hello,

    Am working on small program that used to calculate the memory usage of AIX servers. Am using svmon -G command to get the memory usage. For example, consider the following output.

    $ svmon -G
    size inuse free pin virtual mmode
    memory 1957888 670177 1287711 411476 512709 Ded
    pg space 131072 2929

    work pers clnt other
    pin 350964 0 0 60512
    in use 512709 0 157468

    PageSize PoolSize inuse pgsp pin virtual
    s 4 KB - 269713 2929 85684 112245
    m 64 KB - 25029 0 20362 25029
    $

    Am using "in use" value at the 6-th line number as memory usage. It gives 26 % as a memory usage. Also am using /bin/ps -eo comm,pmem,args to get the all the process memory usage to confirm with previous calculation.But value calculated by both methods does not match.

    Please advise.
    #AIX-Forum


  • 2.  Re: Regarding AIX Memory Utilization usage calculation

    Posted Thu March 14, 2013 10:36 AM

    Originally posted by: MichaelAM


    Depending on what metric you are trying to monitor the number directly below InUse in the first column might be a better number. The lower numbers are details about the numbers in the first (numeric) line.

    I would suggest a slight variation to your command:

    michael@x054:[/home/michael]svmon -G -O unit=auto
    Unit: auto

    size inuse free pin virtual available mmode
    memory 9.00G 2.00G 7.00G 1.23G 1.77G 7.00G Ded
    pg space 512.00M 6.73M

    work pers clnt other
    pin 540.20M 0K 0K 722.79M
    in use 1.77G 0K 230.39M
    #AIX-Forum