UIM - CDM calculation of CPU on AIX, HP-UX, Linux and Solaris.
search cancel

UIM - CDM calculation of CPU on AIX, HP-UX, Linux and Solaris.

book

Article ID: 11858

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)

Issue/Introduction


How to calculate / fetch the average CPU data for CDM probe ?

Here is the document for the metrics (QOS_LOAD_AVERAGE_1MIN, QOS_LOAD_AVERAGE_5MIN and QOS_LOAD_AVERAGE_15MIN) for CPU average. Please go through the section "Configure Advanced Monitoring Properties":

Configure Advanced Monitoring Properties



Environment

UIM: 20.4.x or later

OS: AIX, HP-UX, Linux and Solaris.

Resolution

Here is how the Average CPU information fetched from different Unix platforms:


AIX:

The CPU usage information is found by running the command "/usr/sbin/sar -P ALL" in a separate thread and parsing the data it provides. For each individual cpu and for the system as a whole user, system, wait and idle are collected. 

•The load data is found by running the command ”/usr/bin/uptime". Based on the data gathering interval either the 1, 5 or 15 minute average is used.


HP-UX:

•The load data is found using the system call pstat_getdynamic(). 


Linux:

•The load data is found by reading the file “/proc/loadavg”. Based on the data gathering interval either the 1, 5 or 15 minute average is used.


Solaris:

•The load data is found by running the command ”/usr/bin/uptime". Based on the data gathering interval either the 1, 5 or 15 minute average is used.

Additional Information

cdm Metrics