Debug Memory Commands Overview; Configuring Debug Memory Commands; Enabling/Disabling Memory Monitoring Functions - Alcatel OmniSwitch 6624 Network Configuration Manual

Hide thumbs Also See for OmniSwitch 6624:
Table of Contents

Advertisement

Debug Memory Commands Overview

Debug Memory Commands Overview
The Debug Memory Commands provide monitoring of memory allocation and free memory. By provid-
ing a method to enable/disable memory monitoring and display memory usage reports, these commands
can be used to monitor logging of events, leak detection, classification of memory allocations, detection of
invalid free addresses, and maintenance of size statistics. Additionally, the following automatic outputs
will occur under specific conditions:
If there is an attempt to free an invalid address, the monitor will create a switch log message, cause a
Post Mortem Dump (PMD) of the memory monitor variables and log, and suspend the task. For infor-
mation about using the
chapter titled, "Memory Monitoring Commands" in the OmniSwitch CLI Reference Guide.
If a memory leak of unclassified memory is detected, the service will generate a sysTrace (System
Trace) message. The system trace facility provides a consistent, high-level mechanism for capturing
event records in a history buffer. Captured sysTrace information can be referenced for system debug-
ging. For information about using the sysTrace utility to enable, disable or view sysTrace log informa-
tion, see the chapter titled, "Memory Monitoring Commands" in the OmniSwitch CLI Reference Guide.

Configuring Debug Memory Commands

This section describes the Debug Memory commands, which include separate commands for enabling or
disabling memory monitoring, as well as displaying memory log information, global statistics, task statis-
tics, and size statistics.

Enabling/Disabling Memory Monitoring Functions

The
debug memory monitor
To enable memory monitoring, enter:
-> debug memory monitor enable
No confirmation message will appear onscreen.
To disable Memory Monitoring, enter:
-> debug memory monitor disable
No confirmation message will appear onscreen.
page 26-4
show log pmd
command to view the contents of a stored PMD file, see the
command enables or disables the memory monitoring functions.
OmniSwitch 6624/6648 Network Configuration Guide
Monitoring Memory
April 2004

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch 6648

Table of Contents