Identifying Memory Allocations for Processes
You can identify the allocation, limit, memory allocation, and usage for each process in the memory. The following is a sample output from the show processes memory command. This output has been abbreviated to make the example more concise.
switch# show processes memory
PID MemAlloc MemLimit MemUsed StackBase/Ptr Process
---- -------- -------- ------- ----------------- -----------
1 159744 0 2027520 ff808d30/ffffffff init
2 0 0 0 0/0 kthreadd
3 0 0 0 0/0 migration/0
4 0 0 0 0/0 ksoftirqd/0
5 0 0 0 0/0 watchdog/0
6 0 0 0 0/0 migration/1
7 0 0 0 0/0 ksoftirqd/1
8 0 0 0 0/0 watchdog/1
9 0 0 0 0/0 migration/2
10 0 0 0 0/0 ksoftirqd/2
11 0 0 0 0/0 watchdog/2
12 0 0 0 0/0 migration/3
13 0 0 0 0/0 ksoftirqd/3
14 0 0 0 0/0 watchdog/3
15 0 0 0 0/0 migration/4
16 0 0 0 0/0 ksoftirqd/4
17 0 0 0 0/0 watchdog/4
18 0 0 0 0/0 migration/5
19 0 0 0 0/0 ksoftirqd/5
20 0 0 0 0/0 watchdog/5
21 0 0 0 0/0 migration/6
22 0 0 0 0/0 ksoftirqd/6
23 0 0 0 0/0 watchdog/6
24 0 0 0 0/0 migration/7
25 0 0 0 0/0 ksoftirqd/7
26 0 0 0 0/0 watchdog/7
27 0 0 0 0/0 events/0
28 0 0 0 0/0 events/1
29 0 0 0 0/0 events/2
30 0 0 0 0/0 events/3
31 0 0 0 0/0 events/4
32 0 0 0 0/0 events/5
33 0 0 0 0/0 events/6
34 0 0 0 0/0 events/7
35 0 0 0 0/0 khelper
36 0 0 0 0/0 netns
37 0 0 0 0/0 kblockd/0
Keyword |
Description |
---|---|
> |
Redirects the output to a file. |
>> |
Adds the output to an existing file. |
shared |
Displays shared memory information. |