4.61 TopMemoryProcs

Use this Knowledge Script to monitor the system memory usage to identify which processes are consuming the most memory. This Knowledge Script raises an event if the virtual or physical memory usage for the system crosses the threshold you specify. The top number of processes that are consuming the most physical memory are reported in the event and data detail messages.

4.61.1 Resource Object

Memory folder

4.61.2 Default Schedule

The default interval for this script is Every 30 minutes.

4.61.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General settings

Number of top processes to display (0 means all)

Enter a number indicating how many top processes you want AppManager to display in the detail message (event or data). Type 0 if you want all processes recorded in the detail message. The default is 5.

NOTE:In most cases, including all processes increases the size of the detail message without providing you with more useful information. Therefore, NetIQ recommends that you limit the number of processes included in the detail message to the top five or ten processes. Typically, the top few processes are the most significant for troubleshooting purposes.

Processes that share memory appear to be using more memory than they actually are.

Event severity level

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5.

Event?

Select Yes to raise an event if the memory usage for all processes crosses the threshold you specify. The default is Yes.

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.

Threshold settings

Maximum virtual memory used (%) threshold

Type a threshold for the maximum percentage (%) of virtual memory that should be in use. The default is 90%.

Maximum physical memory used (%) threshold

Type a threshold for the maximum percentage (%) of physical memory that should be in use for all processes. Physical memory not being used by processes is often used dynamically by the system as cache. The default is 100%.

HP-UX specific settings

Include reserved value in calculations?

Select Yes to include reserved swap space in the calculations. If set to Yes, calculations include space reserved system for deactivation and paging processes. This parameter is only available on computers running the HP-UX operating system. The default is Yes.

Include memory pseudo-swap values in calculations?

Select Yes to include pseudo-swap space in the calculations. Pseudo-swap space might be up to 3/4 of the available system memory. If set to Yes, calculations include space in the pseudo swap reservation counters. This parameter is only available on computers running the HP-UX operating system. The default is unselected.

Collect Data settings

Collect virtual memory data?

Select Yes to collect information on virtual memory usage for charts and reports. If set to y, this script returns the virtual memory usage for the interval and the detail message lists the processes consuming the most memory resources. The default is unselected.

Collect physical memory data?

Select Yes to collect information on physical memory usage for charts and reports. If set to Yes, this script returns the physical memory usage for the interval and the detail message lists the processes consuming the most memory resources. The default is unselected.

Enable debugging? (y/n)

Select Yes to enable debugging. The default is unselected.