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. (Distributed devices in standalone or IRF
mode/centralized devices in IRF mode.)
Usage guidelines
When a process starts, it requests the following types of memory from the system:
Text memory—Stores code for the process.
•
Data memory—Stores data for the process.
•
Stack memory—Stores temporary data.
•
•
Dynamic memory—Heap memory dynamically assigned and released by the system according to
the needs of the process. To view dynamic memory information, execute the display process
memory heap command.
Examples
# Display memory usage for all processes.
<Sysname> display process memory
JID
1
2
3
4
5
6
29
49
52
---- More ----
Table 71 Command output
Field
JID
Text
Data
Stack
Dynamic
Name
Related commands
display process memory heap
•
•
display process memory heap address
display process memory heap size
•
Text
Data
384
1800
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Description
Job ID of a process. It never changes.
Text memory used by the process, in KB. The value for a kernel thread is 0.
Data memory used by the process, in KB. The value for a kernel thread is 0.
Stack memory used by the process, in KB. The value for a kernel thread is 0.
Dynamic memory used by the process, in KB. The value for a kernel thread is 0.
Name of the process. If square brackets ([ ]) exist in a process name, the process is a kernel
thread.
Stack
Dynamic
16
36
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
330
Name
scmd
[kthreadd]
[ksoftirqd/0]
[watchdog/0]
[events/0]
[khelper]
[kblockd/0]
[vzmond]
[pdflush]