Display Process Memory Heap - H3C S5830V2 Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

display process memory heap

Use the display process memory heap command to display the heap memory statistics for a specified
process.
Syntax
display process memory heap job job-id [ verbose ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
job job-id: Specifies a job ID that uniquely identifies a process. It remains the same even if the process
restarts. The job-id argument is in the range 1 to 2147483647.
verbose: Displays detailed statistics about the memory. If this keyword is not specified, brief statistics is
displayed.
slot slot-number: Specifies an IRF member device ID. If this option is not specified, the command displays
the state information about processes on the master device.
Usage guidelines
The heap memory comprises fixed-size memory blocks (such as size=16 bytes or size= 64 bytes), to store
necessary data or intermediate variables. When a process starts, the system dynamically allocates the
heap memory to the process as needed. To display heap memory information about a process, use the
display process memory heap command.
Each memory block has an address represented in hexadecimal numbers. To display the address, use
the display process memory heap size command. You can access the memory block through the address.
To display the memory block, use the display process memory heap address command.
Examples
# Display brief information about the heap memory for job 48.
<Sysname> display process memory heap job 48
Total virtual memory heap space (in bytes)
Total physical memory heap space (in bytes) :
Total allocated memory (in bytes)
# Display detailed information about the heap memory for job 48.
<Sysname> display process memory heap job 48 verbose
Heap usage:
Size
16
64
128
512
4096
8192
81920
Free
Used
8
52
3
1262
2
207
3
55
3
297
1
19
0
1
:
2293760
58368
:
42368
Total
Free Ratio
60
13%
1265
0.2%
209
1%
58
5.1%
300
1%
20
5%
1
0%
10

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents