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

CDM probe 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 does the CDM probe calculate / fetch the average CPU data in DX UIM?

Environment

D UIM: 20.4.x or later

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

Cause

Guidance

Resolution

Here is how the Average CPU information is 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