How does the CDM probe calculate / fetch the average CPU data in DX UIM?
D UIM: 20.4.x or later
OS: AIX, HP-UX, Linux and Solaris.
Guidance
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.