HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

294
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
job job-id: Specifies a user process by its job ID, in the range of 1 to 2147483647.
verbose: Displays detailed information. Without this keyword, the command displays brief information.
slot slot-number: Specifies a card by its slot number. Without this option, the command displays heap
memory usage for the user process on the active MPU. (MSR4000.)
Usage guidelines
Heap memory comprises fixed-sized blocks such as 16-byte or 64-byte blocks. It stores data and
variables used by the user process. When a user process starts, the system dynamically allocates heap
memory to the process.
Each memory block has an address represented in hexadecimal format, which can be used to access the
memory block. You can view memory block addresses by using the display process memory heap size
command, and view memory block contents by using the display process memory heap address
command.
Examples
# Display brief information about heap memory usage for the process identified by job ID 48.
<Sysname> display process memory heap job 48
Total virtual memory heap space (in bytes) : 2293760
Total physical memory heap space (in bytes) : 58368
Total allocated memory (in bytes) : 42368
# Display detailed information about heap memory usage for the process identified by job ID 48.
<Sysname> display process memory heap job 48 verbose
Heap usage:
Size Free Used Total Free Ratio
16 8 52 60 13%
64 3 1262 1265 0.2%
128 2 207 209 1%
512 3 55 58 5.1%
4096 3 297 300 1%
8192 1 19 20 5%
81920 0 1 1 0%
Summary:
Total virtual memory heap space (in bytes) : 2293760
Total physical memory heap space (in bytes) : 58368
Total allocated memory (in bytes) : 42368
Table 69 Command output
Field Descri
p
tion
Size Size of each memory block, in bytes.