NUK_Memory application menu


The NUK_Memory application menu contains the following unique menu commands.

Menu Command

Description

List Shared Memory Segments

This menu displays information about the shared memory segments. The output appears in the system output window.

To access this menu, choose List Shared Memory Segments from the NUK_Memory application class menu. 

List Semaphores

This menu lists information about the active semaphores. Identify a particular semaphore by looking at the owner ID and group ID.

To access this menu, choose List Semaphores from the NUK_Memory application class menu. 

Monitoring and managing memory

 The PATROL for Linux monitors and manages memory through two applications: NUK_Memory and NUK_Swap.

  1. 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
  2. The NUK_Memory application reports detailed memory utilization.
  3. The NUK_Memory application also manages shared-memory segments and semaphores.
  4. 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

  1. Access the NUK_Memory application menu.
  2. 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.
  3. Access the List Shared Memory Segments task object and view the results. Your results should resemble this example:
IPC status from <running system> as of Tue May  8 HH:MM:SS CDT CCYY
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.

IPC status from <running system> as of Tue May  8 HH:MM:SS CDT CCYY
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

  1. Access the NUK_Memory application menu.
  2. Select List Semaphores. BMC PATROL writes the information to a PATROL task object (List Semaphores) in the NUK_Memory container.
  3. Access the List Semaphores task object and view the results. Your results should resemble this example:
IPC status from <running system> as of DAY MON DD HH:MM:SS CDT CCYY
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. 

IPC status from <running system> as of DAY MON DD HH:MM:SS CDT CCYY
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

  1. Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
  2. 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

  1. Access the Summary instance in the NUK_Swap application class so that you can view its parameters.
  2. 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

  1. Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
  2. 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

  1. Access the swap area instance in the NUK_Swap application class so that you can view its parameters.
  2. 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

  1. Access the Summary instance in the NUK_Swap application class so that you can view its parameters.
  2. 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.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*