4.64 TopMemoryProcs

Use this Knowledge Script to monitor total memory (in KB) usage for all processes and to identify which processes consume the most memory. This script raises an event if memory usage exceeds the threshold you specify. In addition, this script generates a datastream for memory utilization.

4.64.1 Resource Object

Memory folder

4.64.2 Default Schedule

The default schedule for this script is Every 5 minutes.

4.64.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

Event Notification

Create event if memory utilization exceeds the threshold?

Select Yes to raise an event if memory usage exceeds the threshold you specify. The default is Yes.

Severity - Memory utilization over the threshold

Set the event severity level, from 1 to 40, to indicate the importance of an event in which memory usage exceeds the threshold. The default is 5 (red event indicator).

Number of processes to include in detail message

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

NOTE:Limit the number of processes included in the detail message to the top five to ten processes. In most cases, including all processes increases the size of the detail message without providing much more useful information. Typically, the top few processes are the most significant and the most useful for troubleshooting purposes.

Severity - Job failure

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the TopMemoryProcs job fails unexpectedly. The default is 5 (red event indicator).

Data Collection

Collect memory utilization data?

Select Yes to collect data for charts and reports. If enabled, data collection returns the process name, ID, and memory utilization (in KB), as well as job configuration information for each data point value. The default is unselected.

Monitoring

Threshold - Total memory utilization

Specify the maximum amount of memory that can be in use for all processes before an event is raised. The default is 5120 KB.

Threshold - Size scale

Select the scale for the total memory utilization threshold you specify (kilobytes, megabytes, gigabytes, terabytes). The default is kilobytes.