In this Section:

The SBC Core uses the OAM Event Log memusage command to log the memory usage of each process over a configurable interval. The SBC generates a memory log which is uses to capture and log process heap memory usage over time.

The following limitations apply in this release: 

  • Memory consumption through interval statistics are not reported.
  • Memory usage is reported at the process level, not for individual threads/tasks.

The number of bytes used by an active process are captured in the memory usage log file:

Processes are identified by the log entries encoded by the system. For example, the format of a log entry:
113 03282017 073341.007995:1.01.00.00006.MAJOR .PRS: memusage: 1516445696

The memory usage details are logged to the hard drive in the directory: /var/log/sonus/sbx/evlog 

Note

Use the log number to locate the correct log file. For example:

/var/log/sonus/sbx/evlog/<log number>.mem

where the <log number>.mem is the memory usage log file.

On the SBC main screen, navigate to All > OAM > Event Log > Memusage.

The Memusage window is displayed.

Figure 1: Memusage window

The parameters displayed in the window, and their descriptions, are given below:

Table 1: Memusage - Parameter Description Table

ParametersDescription
State

Enable this flag to measure the memory usage of each active process.

  • Disabled (default)
  • Enabled
Mode

Specifies the level of details to be displayed.

  • Detailed
  • None
  • Summary (default)
Interval

The time interval, in minutes, to elapse between the recording of each memory usage file to the hard drive. (Default = 5)

Note: An interval of 1440 minutes (24 hours) equates to one log entry per day for a process.

To Edit the Memusage

To edit the Memusage:

  1. Click the radio button next to the value Enabled for the flag State. The default State is Disabled.
  2. Select the desired Mode from the dropdown list. The default Mode is Summary.
  3. Enter the desired Interval. The default value is 5 minutes.
  4. Click Save to save the changes, or Undo Edits to cancel all changes.


  • No labels