Topic
  • 7 replies
  • Latest Post - ‏2012-12-24T12:29:36Z by SystemAdmin
sckhatri
sckhatri
4 Posts

Pinned topic Computational Memory Calculation

‏2011-02-21T10:57:58Z |
Hi,

How to calculate the computational memory of the AIX system?

Regards

Sunil
Updated on 2012-12-24T12:29:36Z at 2012-12-24T12:29:36Z by SystemAdmin
  • KapilrajKoroth
    KapilrajKoroth
    5 Posts

    Re: Computational Memory Calculation

    ‏2011-02-21T15:44:25Z  
    topas look at the right hand side corner
  • sckhatri
    sckhatri
    4 Posts

    Re: Computational Memory Calculation

    ‏2011-02-22T09:02:20Z  
    topas look at the right hand side corner
    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
  • Ashok_AIX_Admin
    Ashok_AIX_Admin
    13 Posts

    Re: Computational Memory Calculation

    ‏2011-03-01T04:21:36Z  
    • sckhatri
    • ‏2011-02-22T09:02:20Z
    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
    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
  • MatthewBourne
    MatthewBourne
    27 Posts

    Re: Computational Memory Calculation

    ‏2011-03-01T17:35:50Z  
    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
    Does this differentiate between application and kernel?
  • Ashok_AIX_Admin
    Ashok_AIX_Admin
    13 Posts

    Re: Computational Memory Calculation

    ‏2011-03-08T05:26:48Z  
    Does this differentiate between application and kernel?
    No it doesn't.

    Ashok
  • sckhatri
    sckhatri
    4 Posts

    Re: Computational Memory Calculation

    ‏2011-03-09T10:30:50Z  
    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
    Hi Ashok,

    Thanks for the clarification.

    Regards

    Sunil
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Computational Memory Calculation

    ‏2012-12-24T12:29:36Z  
    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 }'