Swap - OS Test
Swap is the space on a storage device (like a hard drive or SSD) that the Linux system uses as virtual memory when the system runs out of physical RAM. The swap space acts as an overflow area where less frequently used data can be moved to free up RAM for active processes. Having an appropriate amount of swap space is important for optimal system performance. This test reports utilization details of the swap space on each system using which administrator can find out how well the swap space is utilized on each system.
Target of the test : A Linux Systems Group
Agent deploying the test : A remote agent
Outputs of the test : One set of results for every Linux system
Parameter | Description |
---|---|
Test Period |
How often should the test be executed. |
Host |
The nick name of the Linux Systems Group component for which this test is to be configured. |
Port |
Refers to the port at which the specified host listens to. By default, this is NULL. |
Inside View Using |
To obtain the 'inside view' of performance of the systems - i.e., to measure the internal performance of the systems - this test uses a light-weight eG VM Agent software deployed on each of the systems. Accordingly, this parameter is by default set to eG VM Agent. |
Report By User |
This flag is set to No by default. This implies that the Linux systems in environments will always be identified using the system name. In other words, this test will, by default, report measures for every systemname. On the other hand, if you want this test to report the measures for every user on a system, then set this flag to Yes. In such a case, this test will report the measures for every username_on_systemname. |
Report Powered OS |
By default, this flag is set to Yes, then the 'inside view' tests will report measures for even those Linux systems that do not have any users logged in currently. The systems will be identified by their name and not by the username_on_systemname. On the other hand, if this flag is set to No, then this test will not report measures for those systems to which no users are logged in currently. |
Is Cloud VMs? |
This flag is set to Yes by default. The value of this flag cannot be changed. This implies that the cloud-based Linux systems in environments will always be identified using the login name of the user. In other words, in cloud environments, this test will, by default, report measures for every username_on_systemname. |
Measurement | Description | Measurement Unit | Interpretation |
---|---|---|---|
Swap allocated |
Indicates the amount space that is currently allocated on the storage device on this system for use as swap space when RAM is full. |
MB |
|
Swap available |
Indicates the amount of allocated swap space that is still free on and can be used when required. |
MB |
|
Swap queue |
Indicates the number of processes that are being swapped out from RAM to swap. |
Number |
Ideally, this value should be close to 0. |
Swap reserved |
Indicates the amount of swap space that is committed for future use but not used yet. |
MB |
|
Swap used |
Indicates the amount of the swap space that is being used by this system. |
MB |
|
Swap used percent |
Indicates the percentage of the swap space that is used by this system. |
Percent |
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. |