Swap Test

Swap space is space on a hard disk used as the virtual memory extension of a computer's real memory (RAM). The least recently used files in RAM can be "swapped out" to the hard disk until they are needed later so that new files can be "swapped in" to RAM. Having an appropriate amount of swap space is important for optimal system performance.

Target of the test : A Solaris, Linux, AIX or HPUX system only

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every server being monitored

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.


The host for which the test is to be configured.

Detailed Diagnosis

This parameter is applicable for Linux systems.

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Swap used

Indicates the total swap space that is either allocated or reserved.



Swap allocated

Indicates the total swap space currently allocated for use as a backing store.


This measure is not available for HPUX systems.

Swap reserved

Indicates the total amount of swap space not currently allocated but claimed for future use.


This measure is not available for AIX and HPUX systems.

Swap available

Indicates the total swap space that is currently available for future reservation and allocation.



Swap used percent

Indicates the percentage of swap space that is allocated or reserved.


A value close to 100% indicates that the swap space configured may not be sufficient. A value close to 0 may imply that the swap space configured may be too large.

The detailed diagnosis of this measure lists the Process ID, Swap utilization, Swap used and Arguments User. Using the detailed diagnostics, administrators can figure out the exact process that is allocated/reserved with maximum swap space.

Swap queue

Indicates the number of processes swapped out currently.


Ideally, this value should be close to 0. This measure is not available for AIX systems.