280
display process memory heap
job
job-id
address
starting-address
length
memory-length
[
slot
slot-number
[
cpu
cpu-number
] ]
In IRF mode:
display process memory heap
job
job-id
address
starting-address
length
memory-length
[
chassis
chassis-number
slot
slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
job
job-id
: Specifies a user process by its job ID, in the range of 1 to 2147483647.
address
starting-address
: Specifies the starting memory block by its address.
length
memory-length
: Specifies the memory block length in the range of 1 to 1024 bytes.
slot
slot-number
: Specifies a card by its slot number. If you do not specify this option, the command
displays memory content information on the active MPU. (In standalone mode.)
chassis
chassis-number
slot
slot-number
: Specifies a card on an IRF member device. If you do not
specify this option, the command displays memory content information on the global active MPU. (In
IRF mode.)
cpu
cpu-number
: Specifies a CPU by its number.
Usage guidelines
When a user process runs abnormally, the command helps locate the problem.
Examples
# Display 128-byte memory block content starting from the memory block 0xb7e30580 for the
process
job 1
.
<Sysname> display process memory heap job 1 address b7e30580 length 128
B7E30580: 14 00 EF FF 00 00 00 00 E4 39 E2 B7 7C 05 E3 B7 .........9..|...
B7E30590: 14 00 EF FF 2F 73 62 69 6E 2F 73 6C 62 67 64 00 ..../sbin/slbgd.
B7E305A0: 14 00 EF FF 00 00 00 00 44 3B E2 B7 8C 05 E3 B7 ........D;......
B7E305B0: 14 00 EF FF 2F 73 62 69 6E 2F 6F 73 70 66 64 00 ..../sbin/ospfd.
B7E305C0: 14 00 EF FF 00 00 00 00 A4 3C E2 B7 AC 05 E3 B7 .........<......
B7E305D0: 14 00 EF FF 2F 73 62 69 6E 2F 6D 73 74 70 64 00 ..../sbin/mstpd.
B7E305E0: 14 00 EF FF 00 00 00 00 04 3E E2 B7 CC 05 E3 B7 .........>......
B7E305F0: 14 00 EF FF 2F 73 62 69 6E 2F 6E 74 70 64 00 00 ..../sbin/ntpd..
Related commands
display process memory heap
display process memory heap size
display process memory heap size
Use
display process memory heap size
to display the addresses of heap memory blocks with a
specified size used by a process.