Alcatel Carrier Internetworking Solutions Switch/Router 用户手册

下载
页码 1100
Viewing MPX Memory Statistics
Page 9-20
Viewing MPX Memory Statistics
The 
memstat
 command displays the 
MPX’s
 memory statistics. The statistics will tell you how 
memory is currently being used and help determine if memory problems exist, such as 
memory exhaustion. To view the 
MPX’s
 memory statistics, enter
memstat
at the system prompt. A screen similar to the following will be displayed.
Summary of Memory Usage
 
 status
bytes
blocks
avg block
max block
 ----------
---------
-----------
---------------
----------------
current
free
4761672
64
74401
4719704
alloc
6429088
9114
705
-
cumulative
alloc
24942880
148235
168
-
 
MPM total memory
: 16MB
The fields displayed by the 
memstat
 command are described below.
status
. The statistics appear in two groups: 
current
 and 
cumulative
. The current status shows 
free and allocated memory. The cumulative status shows only allocated memory. Cumulative 
memory is the total amount of memory that has been allocated since the switch was started 
up. This value increases each time a memory allocation takes place. It can never decrease.
bytes
. The number of bytes for free and allocated memory.
blocks
. Block size is dynamic and depends upon memory usage and the amount of fragmen-
tation.
avg block
. The average block indicates the average size of all the memory blocks.
max block
. The maximum block indicates the largest free memory block available. When this 
value drops to around 10K it usually indicates that the free memory is highly fragmented and 
probably near exhaustion.
MPM total memory
. The total number of megabytes available in the 
MPX’s
 memory.