Use this Knowledge Script to monitor Logical Partitions (LPAR) utilization on AIX computers. LPAR utilization is measured in percentage. This Knowledge Script collects utilization data based on the following parameters:
Percentage of partition utilized in user mode
Percentage of partition utilized in system kernel mode
Percentage of partition utilized for I/O operations
Percentage of partition in idle mode
Number of physical processors consumed
Entitled capacity consumed
Logical processor utilization
You can set thresholds for each of these parameters. If the partition utilization exceeds any threshold, an event is generated.
CPU icon on AIX
The default interval for this script is Every 5 minutes.
Set the following parameters as needed:
Description |
How to Set It |
---|---|
General Settings |
|
Number of seconds between samples |
Enter the data collection interval, from 2 to 30, in seconds for the lparstat utility. The default value is 5 seconds. |
Number of times lparstat should iterate before reporting an average value |
Enter the iteration count, from 1 to 100, for the lparstat utility. The default value is 3 iterations. |
Event severity level |
Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5. |
Event severity for internal failure |
Set the event severity level, from 1 to 40, to indicate the importance of an event in which this job experienced an internal error. The default is 5. |
Data Collection Options |
|
Collect data for %User CPU state? |
Select Yes to collect data for the percentage of CPU used in user mode. The default is unselected, the data is not collected. |
Collect data for %System CPU state? |
Select Yes to collect data for the percentage of CPU used in kernel/system mode. The default is unselected, the data is not collected. |
Collect data for %Wait CPU state? |
Select Yes to collect data for the percentage of CPU used in I/O mode. The default is unselected, the data is not collected. |
Collect data for %Idle CPU state? |
Select Yes to collect data for the percentage of CPU in the idle mode. The default is unselected, the data is not collected. |
Collect data for total CPU utilization? |
Select Yes to collect data for the total percentage of CPU used. This includes utilization data when the CPU is in user and kernel/system modes. The default is Yes. |
Collect data for number of physical processors consumed? |
Select Yes to collect data for the number of physical processors consumed by the CPU. The default is Yes. |
Collect data for %Entitled capacity consumed? |
Select Yes to collect data for the total percentage of entitled capacity used. The default is Yes. |
Collect data for %Logical processors utilization? |
Select Yes to collect data for the total percentage of logical processor used. The default is Yes. |
Thresholds and Eventing |
|
Threshold -- Maximum %User CPU state. -1 disables |
Enter the threshold value, from 1 to 100, for the maximum percentage of CPU utilization in user mode. AppManager raises an event if the CPU utilization exceeds this threshold. Enter -1 to disable the threshold. The default is 90%. |
Threshold -- Maximum %System CPU state. -1 disables |
Enter the threshold value, from 1 to 100, for the maximum percentage of CPU utilization in the kernel/system mode. AppManager raises an event if the CPU utilization exceeds this threshold. Enter -1 to disable the threshold. The default is 90%. |
Threshold -- Maximum %Wait CPU state. -1 disables |
Enter the threshold value, from 1 to 100, for the maximum percentage of CPU utilization in the I/O wait mode. AppManager raises an event if the CPU utilization exceeds this threshold. Enter -1 to disable the threshold. The default is 90%. |
Threshold -- Maximum %Idle CPU state. -1 disables |
Enter the threshold value, from 1 to 100, for the maximum percentage of CPU in the idle mode. AppManager raises an event if the CPU utilization exceeds this threshold. Enter -1 to disable the threshold. The default is 10%. |
Threshold -- Maximum total CPU utilization |
Enter the threshold value, from 1 to 100, for the maximum percentage of total CPU utilization (in user and kernel/system modes). AppManager raises an event if the CPU utilization exceeds this threshold. The default is 90%. |
Threshold -- Maximum number of physical processors consumed. -1 disables |
Enter the threshold value, from 1 to 100, for the maximum number of physical processors consumed. AppManager raises an event if the number exceeds this threshold. Enter -1 to disable the threshold. The default is -1. |
Threshold -- Maximum %Entitled capacity consumed. -1 disables |
Enter the threshold value, from 1 to 1000, for the maximum percentage of entitled capacity utilization. AppManager raises an event if the capacity exceeds this threshold. Enter -1 to disable the threshold. The default is -1. |
Threshold -- Maximum %Logical processors utilization. -1 disables |
Enter the threshold value, from 1 to 1000, for the maximum percentage of logical processor utilization. AppManager raises an event if the processor utilization exceeds this threshold. Enter -1 to disable the threshold. The default is -1. |