
show memory
Displays memory usage information for the specified server or module.
Syntax: show memory {server server-id | bay [1|2] | module bay/slot} [verbose | group [group-name] | bucket-size [bucket-size]]
server server-id
Display memory information for the specified server. Valid values are 1 or 2.
bay [1|2]
Display memory information for the specified bay controller.
module bay/slot
Display memory information for the specified module.
group group -name
Display memory information for all functional groups or the specified functional group.
verbose
Display detailed information.
bucket-size bucket-size
Display memory information by bucket-size, or for all bucket-sizes.
Description: Use the show memory server server-id command to display memory usage for the specified server.
Use the show memory bay bay-id command to display memory usage for the specified bay controller.
Use the show memory module bay/slot command to display memory usage for the specified module.
Use the verbose keyword to display more detailed memory usage information.
Use the group keyword to display memory usage by individual functions (groups).
Use the group group-name keyword to display memory usage for the specified group-name.
IPriori divides memory into buckets. Use the bucket-size keyword to show memory by bucket size.
Use the bucket-size bucket-size keyword to display memory usage for the specified bucket size.
Default: None.
Command mode: Privileged.
Example 1: In the following example the show memory server 1 command displays memory usage for server 1:
router#show memory server 1
Memory stats
Total bytes 2089426944
Allocated bytes 370307156
Free bytes 1719119788
Free Pages 138978
Page Size 12288
Max Free Block 1641394176
Router1_S1#
The following table describes the fields in the display:
Example 2: In the following example, the show memory server 1 verbose command displays detailed information for server 1:
router#show mem server 1 verbose
Total Managed Memory:
Start End Size Used Free
0x1fb2000 0x135ff000 291819520 37765576 254053944
Regular Memory:
Start End Size Pages
0x1fb2000 0x10df9000 249851904 60999
Free:
Total Bytes Bytes In Buckets Pages
249118280 1580616 60434
Used:
Total Bytes Bytes In Use Fragmentation Pages
733624 724944 8680 565
Large Memory:
Start End Size Pages
0x10df9000 0x135ff000 41967616 10246
Free:
Total Bytes Blocks AvgBlockSize Max Block
4935664 8 616958 2692832
Used:
Total Bytes Blocks AvgBlockSize Overhead
37031952 1175 31516 9448
The following table describes the fields in the display:
Example 3: Memory allocation is labeled by tags. Tags are associated into groups. The following example shows partial output of the show memory server 1 group command, and displays memory allocation arranged by group:
router#show memory server 1 group
Memory tag usage
tag inUse maxUsed elemInUse maxElemUsed group_name tag_name
0 94304 98400 617 661 avmalloc avm_internal
1 0 0 0 0 avmalloc avm_realloc
.
.
.
325 1104 1104 3 3 selena insert_co_event
326 48 96 1 2 routing ospf_lsa_1_48
The following table describes the fields in the display:
Example 4: A bucket is a piece of the memory pool. In the following example, the show memory server 1 bucket command displays memory usage by general purpose buckets:
router #show memory server 1 bucket
Bucket size inUse free maxUsed lowMark highMark pages fullPages
tag
0 8 298 2774 344 2560 5120 6 0
1 16 314 1478 314 1280 2560 7 0
2 24 149 871 149 850 1700 6 0
3 32 49 719 59 640 1280 6 0
4 40 81 531 81 510 1020 6 0
5 48 50 460 51 425 850 6 0
The following table describes the fields in the display:
Table 3-23. Fields Displayed by show memory server n bucket
Field Description Bucket tag
Numerical identifier of the bucket.
size
Number of bytes per element in this bucket.
inUse
Number of elements in use in this bucket.
free
Number of free elements in this bucket.
maxUsed
Maximum number of elements ever in use in this bucket.
lowMark
Low threshold number of elements maintained in this bucket.
highMark
High threshold number of elements maintained in this bucket.
pages
Number of memory pages assigned to this bucket.
fullPages
Number of full pages assigned (not allocated) to this bucket.
Related Commands: show bay
show modules
show server
show version
Copyright © 2005
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: sys_mgmt.fm
HTML File Name: sys_mgmt49.html
Last Updated: 02/25/05 at 14:26:49