C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
Process and Memory Management Commands on Cisco IOS XR Software
show memory heap
SMR-555
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
show memory heap
To display information about the heap space for a process, use the
show memory heap
command in
administration EXEC mode or in EXEC mode.
show
memory
heap
{
job-id
|
allocated
[
dllname
] [
free
]
job-id
|
dllname
job-id
|
free
[
dllname
]
job-id |
failure
{
job-id
|
all
} |
summary
{
job-id
|
all
}}
Syntax Description
Defaults
No default behavior or values
Command Modes
Administration EXEC
EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
Task ID
Examples
The following is sample output from the
show memory heap
command, specifying a job ID for the
job-id
argument:
RP/0/RP0/CPU0:router#
show memory heap 111
Malloc summary for pid 16433:
Heapsize 16384: allocd 6328, free 8820, overhead 1236
Calls: mallocs 144; reallocs 73; frees 5; [core-allocs 1; core-frees 0]
Block Allocated List
Total Total Block Name/ID/Caller
Usize Size Count
job-id
Job ID associated with the process instance.
allocated
(Optional) Displays a list of all allocated heap blocks.
dllname
(Optional) Displays heaps with dynamic link library (DLL) names.
failure
(Optional) Displays a summary of heap failures.
free
(Optional) Displays a list of all free heap blocks.
summary
(Optional) Displays a summary of the information about the heap space.
all
Displays information about the heap space for all processes.
Release
Modification
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
basic-services
read