show processes memory

To display the memory allocation information for processes, use the show processes memory command.

show processes memory [ shared [ detail ]]

Syntax Description

shared
(Optional) Displays the shared memory allocation.
detail
(Optional) Displays the shared memory in bytes instead of the default kilobytes.

Command Default

Displays memory allocated to the processes.

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Examples

This example shows how to display information about the memory allocation for processes:

switch# show processes memory
 
PID MemAlloc StkSize RSSMem LibMem StackBase/Ptr Process
---- ------- ------- ------- ------- ------------- ---------
1 147456 86016 495616 1126400 bffffea0/bffff990 init
2 0 0 0 0 0/0 ksoftirqd/0
3 0 0 0 0 0/0 desched/0
4 0 0 0 0 0/0 events/0
5 0 0 0 0 0/0 khelper
10 0 0 0 0 0/0 kthread
18 0 0 0 0 0/0 kacpid
169 0 0 0 0 0/0 kblockd/0
182 0 0 0 0 0/0 khubd
247 0 0 0 0 0/0 pdflush
248 0 0 0 0 0/0 pdflush
249 0 0 0 0 0/0 kswapd0
<--Output truncated-->
switch#
 

This example shows how to display information about the shared memory allocation for processes:

switch# show processes memory shared
Component Shared Memory Size Used Available Reference
Address (kbytes) (kbytes) (kbytes) Count
smm 0X60000000 1024 3 1021 21
cli 0X60110000 30720* 13982 16738 6
npacl 0X61F20000 4096* 1 4095 1
u6rib-ufdm 0X62330000 320* 188 132 1
am 0X62390000 1024* 13 1011 4
urib 0X624A0000 32768* 700 32068 11
urib-redist 0X644B0000 4096* 0 4096 11
icmpv6 0X648C0000 1024 0 1024 1
u6rib 0X649D0000 16384* 665 15719 5
urib-ufdm 0X659E0000 2048* 0 2048 1
ip 0X65BF0000 2048 68 1980 10
u6rib-notify 0X65E00000 2048* 795 1253 5
ipv6 0X66010000 1024 59 965 3
igmp 0X66120000 1024 0 1024 1
Shared memory totals - Size: 98 MB, Used: 17 MB, Available: 82 MB
switch#
 

Related Commands

Command
Description
show processes
Displays the process information for the switch.
show processes cpu
Displays the CPU utilization information for processes.
show processes log
Displays the contents of the process log.