Alcatel-Lucent 6600 Switch User Manual


 
Monitoring Memory Quick Steps for Configuring Memory Monitoring
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 29-3
Quick Steps for Configuring Memory Monitoring
1 Use the following commands to enable Memory Monitoring. (Memory Monitoring is factory disabled
by default.) For example:
-> debug memory monitor enable
2 To view Memory Monitoring log information, enter the debug memory monitor show log command.
The display is similar to the one shown below:
-> debug memory monitor show log
Task Memory Memory Addr of OS func Calling Previous
Name Comments Addr Size OS call Called Function Caller
---------+--------+-------+------+---------+---------+----------+--------------
tssApp_2* TCB Stac 00ca1550 20680 0013a180 objAllocEx taskSpawn ssAppChild
tssApp_2* Vx B Sem 02317ca8 28 001374d0 objAlloc pipe ssAppChild
tssApp_2* Vx B Sem 02317f78 28 001374d0 objAlloc pipe ssAppChild
tssApp_2* 0107be78 5121 0012cfc8 malloc pipe ssAppChild
tssApp_2* 023182b0 16 0012cfa8 malloc pipe ssAppChild
tssApp_2* 024fdc90 9 00105fb0 malloc pipe ssAppChild
tssApp_2* 016d6548 288 000af228 malloc ssAppChild mip_msg_qu
CliShell0 Vx C Sem 035fe590 28 0011f038 semCCreate zcSelect mip_msg_do
The information displayed above includes the task that owns the memory block, the type of memory
block that has been allocated, the address and size of the memory block, the address of the operating
system call that allocated the memory block, the function that contained the call that allocated the
memory block, and the Calling Function and Previous Caller function (that called the above-mentioned
functions).
Note. Optional. Display the Memory Monitoring Size Statistics. The display is similar to the one shown
below.
-> debug memory monitor show log size
Lower Upper Currently Cumulatively
Limit Limit Allocated Allocated
-----+-----+-------------+-------------+
0 16 14439 31689
16 32 6299 7704923
32 64 4833 373109
64 128 44248 145775
128 256 12367 122315
256 512 52096 228673
512 1024 26778 365552
1024 2048 24572 358630
2048 4096 49648 274071
4096 8192 50793 1534291
8192 16384 478292 673610
16384 32768 431784 1075783
32768 65536 850216 1588017
65536 5130020 25675316
For more information about this command, see “Displaying the Memory Monitor Log” on page 29-5 or
the “Switch Logging Commands” chapter in the OmniSwitch CLI Reference Guide.