331
Distributed devices in standalone mode/centralized devices in IRF mode:
display process memory heap job job-id size memory-size [ offset offset-size ] [ slot slot-number
[ cpu cpu-number ] ]
Distributed devices in IRF mode:
display process memory heap job job-id size memory-size [ offset offset-size ] [ chassis
chassis-number 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 51st through 66th 16-byte blocks used
by the process.
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command
displays block address information on the active MPU. (Distributed devices in standalone mode.)
slot slot-number: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays information for the master device. (Centralized devices in IRF mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The
chassis-number argument represents the member ID of the IRF member device. The slot-number
argument represents the slot number of the card. If you do not specify a card, this command displays
information for the global active MPU. (Distributed devices in IRF mode.)
cpu cpu-number: Specifies a CPU by its number. (Centralized devices in IRF mode/distributed
devices in IRF or standalone mode.)
Usage guidelines
The command displays memory block addresses in hexadecimal format. To view memory block
content, execute the display process memory heap address command.
Examples
# Display the addresses of 16-byte memory blocks used by process job 1.
<Sysname> display process memory heap job 1 size 16
0xb7e300c0 0xb7e300d0 0xb7e300e0 0xb7e300f0
0xb7e30100 0xb7e30110 0xb7e30120 0xb7e30130
0xb7e30140 0xb7e30150 0xb7e30160 0xb7e30170
0xb7e30180 0xb7e30190 0xb7e301a0 0xb7e301b0
0xb7e301c0 0xb7e301d0 0xb7e301e0 0xb7e301f0
0xb7e30200 0xb7e30210 0xb7e30220 0xb7e30230
# Display the addresses of 16-byte memory blocks starting from the fifth block used by process job 1.
<Sysname> display process memory heap job 1 size 16 offset 4
0xb7e30100 0xb7e30110 0xb7e30120 0xb7e30130
0xb7e30140 0xb7e30150 0xb7e30160 0xb7e30170