4.60 TopCpuProcs

Use this Knowledge Script to monitor the total CPU resources used by all processes and which processes consume the most CPU resources. If the CPU usage for any of the listed processes exceeds the threshold you set, AppManager raises an event.

4.60.1 Resource Objects

CPU folder

4.60.2 Default Schedule

The default interval for this script is Every 30 minutes.

4.60.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event? (y/n)

Set to y to raise events. The default is y.

Collect data? (y/n)

Set to y to collect data for charts and reports. If set to y, the script returns the total CPU usage for the interval and the detail message lists the processes consuming the most CPU resources. The default is n.

Maximum CPU usage (%) for all processes threshold

Enter a threshold for the maximum percentage of CPU resources that should be in use for all processes. The default is 90%.

Number of top processes to display (0 means all)

Specify the number of top processes to display in the detail message (event or data). Enter 0 for all processes to display. The default is 5 processes.

NOTE:Limit the number of processes included in the detail message to the top five to ten processes, rather than reporting on all processes. In most cases, including all processes increases the size of the detail message without providing you with more useful information. Typically, the top few processes are the most significant and the most likely ones you are looking to track down for troubleshooting purposes.

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.

Enable debugging? (y/n)

Set to y to enable debugging. The default is n.