AIX

AIX

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


#Power
 View Only
  • 1.  Computational Memory Calculation

    Posted Mon February 21, 2011 05:58 AM

    Originally posted by: sckhatri


    Hi,

    How to calculate the computational memory of the AIX system?

    Regards

    Sunil
    #AIX-Forum


  • 2.  Re: Computational Memory Calculation

    Posted Mon February 21, 2011 10:44 AM

    Originally posted by: KapilrajKoroth


    topas look at the right hand side corner
    #AIX-Forum


  • 3.  Re: Computational Memory Calculation

    Posted Tue February 22, 2011 04:02 AM

    Originally posted by: sckhatri


    Hi,

    I want to know that how can I calculate the computational memory instead of using topas so that values can be used in scripts to generate events.

    Regards

    Sunil
    #AIX-Forum


  • 4.  Re: Computational Memory Calculation

    Posted Mon February 28, 2011 11:22 PM

    Originally posted by: Ashok_AIX_Admin


    From "vmstat -v' output note down the following values:
    1. Memory pages (A)
    2. Free pages (B)
    3. numperm percentage (C)

    Then you can calculate % computational memory using the below formula:

    ((A - B) - ((C * A)/100))/ A )

    Basically you are calculating number of memory pages used and subtracting the non-computational pages.

    Ashok Velayudham
    #AIX-Forum


  • 5.  Re: Computational Memory Calculation

    Posted Tue March 01, 2011 12:36 PM

    Originally posted by: MatthewBourne


    Does this differentiate between application and kernel?
    #AIX-Forum


  • 6.  Re: Computational Memory Calculation

    Posted Tue March 08, 2011 12:27 AM

    Originally posted by: Ashok_AIX_Admin


    No it doesn't.

    Ashok
    #AIX-Forum


  • 7.  Re: Computational Memory Calculation

    Posted Wed March 09, 2011 05:31 AM

    Originally posted by: sckhatri


    Hi Ashok,

    Thanks for the clarification.

    Regards

    Sunil
    #AIX-Forum


  • 8.  Re: Computational Memory Calculation

    Posted Mon December 24, 2012 07:30 AM

    Originally posted by: SystemAdmin


    Hi Sunil,

    You can calculate the computational memory by below command in Aix6.1 onwards
    vmstat -v | grep "percentage of memory used for computational pages" | awk '{ print $1 }'
    #AIX-Forum