Attribute values retrieved by the UNIX OS Agent on AIX.
Technote (troubleshooting)
Problem(Abstract)
This technote describes the formulas and APIs used in UNIX OS Agent to retrieve SYSTEM attributes such as Pages Paged in (per sec), Pages Paged out (per sec), Pages-Ins (per sec), Pages-Out (per sec), CPU usage and Virtual Memory Percent Used on AIX.
Resolving the problem
- Pages Paged in (per sec) and Pages Paged out (per sec)
1) Set the refreshing interval in the TEP to 30 seconds. [Just to make sure that the interval we take into consideration in the TEP and the commands match].
2) Execute the command "vmstat -s" at time say "t1". Note down the value against the column "page ins". Say the value is v1.
3) Execute the command "vmstat -s" again at time "t1 + 30 seconds"(30 seconds after doing step2). Note down the value against the column "page ins". Say the value is v2.
Then the attribute "Page-Ins per sec" can be calculated as below:
Page Ins per sec = (v2 - v1)/30
Similarly the value for the attribute "Pages Paged out per sec" can be calculated.
- Pages-Ins (per sec) and Pages-Out (per sec)
This attribute is retrieved using the perfstat_memory_total API.
- CPU usage (User CPU, System CPU, Idle CPU, Wait I/O) : mpstat command
- Virtual Memory Percent Used
It is calculated through the values using perfstat API on AIX.
Virtual Memory Percent Used = (Active VM / Total available VM) * 100
- Avg CPU Busy x
This attribute gets the average value from the value of us and sy in
mpstat command per 30 seconds.
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Rate this page
Please take a moment to complete this form to help us better serve you.