NUK_Memory application menu
Monitoring and managing memory
The PATROL for Linux monitors and manages memory through two applications: NUK_Memory and NUK_Swap.
- The NUK_Memory application monitors such memory activity as
- Number of active virtual pages
- Number of pages anticipated
- Number of pages freed per second
- Number of pages in and out per second
- Number of pages scanned per second
- The NUK_Memory application reports detailed memory utilization.
- The NUK_Memory application also manages shared-memory segments and semaphores.
- The NUK_Swap application monitors virtual memory. It provides the following information for the entire system and for each swap area.
- Amount of disk space reserved for swap
- Amount of swap space used
- Percentage of swap space used
The following sections appear in this topic:
Viewing Shared-Memory Segments
This task describes how to view information about the shared-memory segments. The PATROL for Linux lists the type of memory, permissions, owner, and group.
To View Shared-Memory Segments
- Access the NUK_Memory application menu.
- Select List Shared Memory Segments.
BMC PATROL writes the information to a BMC PATROL task object (List Shared Memory Segments) in the NUK_Memory container. - Access the List Shared Memory Segments task object and view the results. Your results should resemble this example:
T ID KEY MODE OWNER GROUP
Shared Memory:
m 101 0x1038f476 --rw-rw-rw- 3supr admin
m 102 0x4130f478 --rw-rw-rw- Night1 shift
m 7703 0x4140f47b --rw-rw-rw- bsmith HR_VA
m 104 0x4109f479 --rw-rw-rw- ljohns ACCTG
m 205 0x4111f37a --rw-rw-rw- vpatel IS_TX
m 106 0x4122f52c --rw-rw-rw- vpatel IS_TX
m 207 0x4103f47e --rw-rw-rw- jocruz admin
m 908 0x4777f47f --rw-rw-rw- odella DISTB
-------------------- >>>>> DONE <<<<< --------------------
Output Format
The output has the following format. Following table defines each expression.
T ID KEY MODE OWNER GROUP
Shared Memory:
m 101 0x1038f476 --rw-rw-rw- uname gname
-------------------- >>>>> DONE <<<<< --------------------
List of Shared-Segment Command Output Format
Viewing Semaphore Information
This task describes how to view information about the semaphores. The task lists type of memory, permissions, owner, and group.
To View Semaphores
- Access the NUK_Memory application menu.
- Select List Semaphores. BMC PATROL writes the information to a PATROL task object (List Semaphores) in the NUK_Memory container.
- Access the List Semaphores task object and view the results. Your results should resemble this example:
T KEY MODE OWNER GROUP
Semaphores:
s 0x1038f476 --ra-ra-ra- 3supr admin
s 0x4130f478 --ra-ra-ra- Night1 shift
s 0x4140f47b --ra-ra-ra- bsmith HR_VA
s 0x4109f479 --ra-ra-ra- ljohns ACCTG
s 0x4111f37a --ra-ra-ra- vpatel IS_TX
s 0x4122f52c --ra-ra-ra- vpatel IS_TX
s 0x4103f47e --ra-ra-ra- jocruz admin
s 0x4777f47f --ra-ra-ra- odella DISTB
-------------------- >>>>> DONE <<<<< --------------------
Output Format
The output has the following format.
T KEY MODE OWNER GROUP
Semaphores:
s 0x1038f476 --ra-ra-ra- uname gname
-------------------- >>>>> DONE <<<<< --------------------
Virtual Memory
The NUK_Swap application class enables you to monitor virtual memory. With this feature, you can view how much disk space is available for swapping and how much is currently used for swapping. The NUK_Swap tasks are described in detail on the following sections:
Viewing the total configured swap space
This task describes how to discover how much swap space is available for either a swap area or an entire system.
To view the amount of swap space in a swap area
- Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
- Open the FreeSpace parameter.
PATROL displays a graph that shows the amount of available swap space in the designated swap area.
To view the amount of total swap space on the system
- Access the Summary instance in the NUK_Swap application class so that you can view its parameters.
- Open the TotalFreeSpace parameter.
PATROL displays a graph that shows the total amount of available swap space on the system.
Viewing the Swap Partition Size
This task describes how to discover the current size of the swap partition for a swap area.
To View the Swap Partition Size in a Swap Area
- Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
- Open the Size parameter. BMC PATROL displays a graph that shows the amount of available swap space in the designated swap area over time.
Viewing the Percentage of Used Swap Space
This task describes how to discover the current amount of swap space being used as a percentage of the total amount available for either the entire system or a particular swap area.
To View the Percentage of Swap Space Used in a Swap Area
- Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
- Open the UsedPercent parameter. BMC PATROL displays a gauge that shows the amount of swap space currently being used as a percentage of the total swap space available in the designated swap area.
To View the Percentage of the Total Swap Space Used on the System
- Access the Summary instance in the NUK_Swap application class so that you can view its parameters.
- Open the TotalUsedPercent parameter.
PATROL displays a gauge that shows the total amount of available swap space currently being used as a percentage of the total swap space available on the system.