show memory debug incremental

show memory debug incremental

Syntax Description

Command Modes

Command History

To display information about memory leaks after a starting time has been established, use the show memory debug incremental command in privileged EXEC mode.

show memory debug incremental {allocations leaks [lowmem summary] status}

allocations

Displays all memory blocks that were allocated after issuing the set memory

 

debug incremental starting-time command.

 

 

leaks

Displays only memory that was leaked after issuing the set memory debug

 

incremental starting-time command.

 

 

lowmem

(Optional) Forces the memory leak detector to work in low memory mode,

 

making no memory allocations.

 

 

summary

(Optional) Reports summarized memory leaks based on allocator_pc and

 

size of the memory block.

 

 

status

Displays all memory blocks that were allocated after issuing the set memory

 

debug incremental starting-time command.

 

 

Privileged EXEC

 

 

 

Release

Modification

 

 

12.3(7)T

This command was introduced.

 

 

12.2(33)SRA

This command was integrated into Cisco IOS Release 12.2(33)SRA.

 

 

12.4T

The summary keyword was added.

 

 

Usage Guidelines The show memory debug incremental allocations command displays all the memory blocks that were allocated after the set memory debug incremental starting-timecommand was entered. The displayed memory blocks are just memory allocations, they are not necessarily leaks.

The show memory debug incremental leaks command provides output similar to the show memory debug leaks command, except that it displays only memory that was leaked after the set memory debug incremental starting-time command was entered.

The show memory debug incremental leaks lowmem command forces memory leak detection to work in low memory mode. The amount of time taken for analysis is considerably greater than that of normal mode. The output for this command is similar to the show memory debug leaks command, except that it displays only memory that was leaked after the set memory debug incremental starting-timecommand was entered. You can use this command when you already know that normal mode memory leak detection will fail (perhaps by an unsuccessful previous attempt to invoke normal mode memory leak detection).

The show memory debug incremental leaks summary command displays a summarized report of the memory that was leaked after the set memory debug incremental starting-timecommand was entered, ordered by allocator process call address (Alloc_pc) and by memory block size.

The show memory debug incremental status command displays whether a starting point for incremental analysis has been set and the elapsed time since then.

 

Cisco IOS Configuration Fundamentals Command Reference

CF-716

July 2008

Page 40
Image 40
Cisco Systems 12000 series manual Show memory debug incremental, CF-716