288
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 an IRF member device by its ID. If you do not specify this option, the
command displays memory content information on the master device.
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 memory blocks with a
specified size used by a process.
Syntax
display process memory heap
job job-id size memory-size
[
offset offset-size
]
[
slot
slot-number
[
cpu
cpu-number
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
job job-id
: Specifies a process by its job ID, in the range of 1 to 2147483647.
size
memory-size: Specifies the memory block size in the range of 1 to 4294967295.
offset offset-size
: Specifies an offset in the range of 0 to 4294967295. The default value is 128. For
example, suppose the system allocates 100 16-byte memory blocks to process job 1, and the
process has used 66 blocks. Then if you execute the
display process memory heap
job 1 size
16
offset 50
command, the output shows the addresses of the 51
st
through 66
th
16-byte blocks used by
the process.