To display the amount of memory used by each system process in Cisco IOS, Cisco IOS XE, or Cisco IOS Software Modularity
images, use the show
processes
memory
command in privileged EXEC mode.
Cisco IOS Software
show processes memory [process-id | sorted [allocated | getbufs | holding]]
Cisco IOS Software Modularity
show processes memory [ [detailed [ [process-name [: instance-id]] | process-id taskid task-id]]] [alloc-summary | sorted {start | size | caller}]
Cisco Catalyst 4500e Series Switches Running IOS XE software
show processes memory [detailed [process iosd | task task-id] | sorted [allocated | getbufs | holding]]
Syntax Description
Cisco IOS Software Syntax
|
process-id
|
(Optional) Process ID (PID) of a specific process. When you specify a process ID, only details for the specified process
will be shown.
|
sorted
|
(Optional) Displays memory data sorted by the Allocated,Getbufs,or Holding column. If the sorted keyword is used by itself, data is sorted by the Holding column by default.
|
allocated
|
(Optional) Displays memory data sorted by the Allocated column.
|
getbufs
|
(Optional) Displays memory data sorted by the Getbufs (Get Buffers) column.
|
holding
|
(Optional) Displays memory data sorted by the Holding column. This keyword is the default.
|
Cisco IOS Software Modularity Syntax
|
detailed
|
(Optional) Displays detailed information about iosproc processes.
|
process-name
|
(Optional) Process name.
|
:
instance-id
|
(Optional) Instance name of either the Cisco IOS task or POSIX process. The colon is required.
|
process-id
|
(Optional) Process identifier.
|
taskid
task-id
|
(Optional) Displays detailed memory usage of a specified Cisco IOS task within a process.
|
alloc-summary
|
(Optional) Displays summary POSIX process memory usage per allocator.
|
sorted
|
(Optional) Displays POSIX process memory usage sorted by start address, size, or the PC that called the process.
|
start
|
(Optional) Displays POSIX process memory usage sorted by the start address of the process.
|
size
|
(Optional) Displays POSIX process memory usage sorted by the size of the process.
|
caller
|
(Optional) Displays POSIX process memory usage sorted by the PC that called the process.
|
Cisco IOS Software
The memory used by all types of system processes is displayed.
Cisco IOS XE Software and Software Modularity
The system memory followed by a one-line summary of memory information about each IOS XE or Software Modularity process is
displayed.
Command Modes
Privileged EXEC (#)
Command History
Release
|
Modification
|
10.0
|
This command was introduced.
|
12.0(23)S
|
The sorted , allocated , getbufs , and holding keywords were added.
|
12.2(13)
|
The sorted , allocated , getbufs , and holding keywords were added.
|
12.2(13)S
|
The sorted , allocated , getbufs , and holding keywords were added.
|
12.2(13)T
|
The sorted , allocated , getbufs , and holding keywords were added.
|
12.0(28)S
|
The output of the header line was updated to support the Memory Thresholding feature.
|
12.2(22)S
|
The output of the header line was updated to support the Memory Thresholding feature.
|
12.3(7)T
|
The output of the header line was updated to support the Memory Thresholding feature.
|
12.0(30)S
|
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by
memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the show
processes
memory command, the show
processes
memory
sorted command, and the show
memory command and its variants).
|
12.2(28)S
|
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by
memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the show
processes
memory command, the show
processes
memory
sorted command, and the show
memory command and its variants).
|
12.3(11)T
|
The summary information (first lines of output) for this command was separated from the rest of the output and labeled by
memory pool type (Total Process Memory, Total I/O Memory, and so on).
This enhancement also corrected a total process memory mismatch error (mismatch between the show
processes
memory command, the show
processes
memory
sorted command, and the show
memory command and its variants).
|
12.2(18)SXF4
|
The syntax was modified to support Cisco IOS Software Modularity images.
|
12.2(33)SRA
|
This command was integrated into Cisco IOS Release 12.2(33)SRA.
|
Cisco IOS XE Release 3.1.0.SG
|
This command was introduced on the Cisco Catalyst 4500e Series Switches.
|
Cisco IOS XE Release 3.3S
|
This command was introducted on the Cisco ASR 1000 Series Aggregation Services Routers.
|
Usage Guidelines
The show
processes
memory command and the show
processes
memory
sorted command displays a summary of total, used, and free memory, followed by a list of processes and their memory impact.
If the standard show
processes
memory
process-id
command is used, processes are sorted by their PID. If the show
processes
memory
sorted command is used, the default sorting is by the Holding value.
Output Prior to Releases 12.3(7)T, 12.2(22)S, and 12.0(28)S
The first line (header line) of the show
processes
memory [sorted ] command listed Total memory, Used memory, and Free memory values.
Output in Releases 12.3(7)T, 12.3(8)T, and 12.2(22)S Through 12.2(27)S2, 12.0(28)S, and 12.0(29)S
In Releases 12.3(7)T, 12.2(22)S, and 12.0(28)S, the Memory Thresholding feature was introduced. This feature affected the
header line and the Holding column of the show
processes
memory command as described in this section.
The value for Total in the show
processes
memory command and the values listed in the Holding column showed the total (cumulative) value for the processor memory pools and the alternate
memory pool* (typically, the I/O memory pool). However, the show
processes
memory
sorted version of this command, and other commands, such as the show
memory
summary command, did not include the alternate memory pool in the totals; that is, these commands showed the total value for the
Processor memory pool only. This caused an observed mismatch of memory totals between commands.
If you are using these releases, use the output of the show
memory
summary command to determine the individual amounts of Total and Free memory for the Processor memory pool and the I/O memory pool.
Output in Releases 12.3(11)T, 12.2(28)S, 12.0(30)S, and Later Releases
Beginning in Releases 12.3(11)T, 12.2(28)S, and 12.0(30)S, the summary information (first output lines) for the show
processes
memory command is separated by memory pool. For example, there are now individual lines for Total Process Memory, Total I/O Memory,
and Total PCI Memory. In these releases or later releases, your Total Process Memory should match the total process memory
shown for other commands, such as the show
memory
summary command.
About Alternate Memory Pools
An “alternate memory pool” is a memory pool that can be used as an alternative to allocate memory when the target (main)
memory pool has been filled. For example, many platforms have a memory type called “Fast” that is limited to a small size
(because the memory media used for Fast memory is expensive). You can prevent memory allocations from failing once the available
Fast memory has been used up, by configuring the normal Processor memory as an alternative memory pool for the Fast memory
pool.
Cisco IOS XE Software and Software Modularity
Use the show
processes
memory command without any arguments and keywords to display the system memory followed by a one-line summary of memory information
about each modular Cisco IOS process. Use the detailed keyword with this command to display detailed memory information about all processes. Other arguments and keywords are used
to display Cisco IOS Software Modularity process memory information for a specified process name or process ID.
On Cisco IOS XE images only, the detailed keyword will also show Cisco IOS task memory details.
Examples
The following is sample output from the show
processes
memory command:
Router# show processes memory
Processor Pool Total: 25954228 Used: 8368640 Free: 17585588
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 8629528 689900 6751716 0 0 *Init*
0 0 24048 12928 24048 0 0 *Sched*
0 0 260 328 68 350080 0 *Dead*
1 0 0 0 12928 0 0 Chunk Manager
2 0 192 192 6928 0 0 Load Meter
3 0 214664 304 227288 0 0 Exec
4 0 0 0 12928 0 0 Check heaps
5 0 0 0 12928 0 0 Pool Manager
6 0 192 192 12928 0 0 Timers
7 0 192 192 12928 0 0 Serial Backgroun
8 0 192 192 12928 0 0 AAA high-capacit
9 0 0 0 24928 0 0 Policy Manager
10 0 0 0 12928 0 0 ARP Input
11 0 192 192 12928 0 0 DDR Timers
12 0 0 0 12928 0 0 Entity MIB API
13 0 0 0 12928 0 0 MPLS HC Counter
14 0 0 0 12928 0 0 SERIAL A'detect
.
.
.
78 0 0 0 12992 0 0 DHCPD Timer
79 0 160 0 13088 0 0 DHCPD Database
8329440 Total
The table below describes the significant fields shown in the display.
Table 27. show processes memory Field Descriptions
Field
|
Description
|
Processor Pool Total
|
Total amount of memory, in kilobytes (KB), held for the Processor memory pool.
|
Used
|
Total amount of used memory, in KB, in the Processor memory pool.
|
Free
|
Total amount of free memory, in KB, in the Processor memory pool.
|
PID
|
Process ID.
|
TTY
|
Terminal that controls the process.
|
Allocated
|
Bytes of memory allocated by the process.
|
Freed
|
Bytes of memory freed by the process, regardless of who originally allocated it.
|
Holding
|
Amount of memory, in KB, currently allocated to the process.
|
Getbufs
|
Number of times the process has requested a packet buffer.
|
Retbufs
|
Number of times the process has relinquished a packet buffer.
|
Process
|
Process name.
|
*Init*
|
System initialization process.
|
*Sched*
|
The scheduler process.
|
*Dead*
|
Processes as a group that are now dead.
|
<value> Total
|
Total amount of memory, in KB, held by all processes (sum of the “Holding” column).
|
The following is sample output from the show
processes
memory command when the sorted keyword is used. In this case, the output is sorted by the Holding column, from largest to smallest.
Router# show processes memory sorted
Processor Pool Total: 25954228 Used: 8371280 Free: 17582948
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 8629528 689900 6751716 0 0 *Init*
3 0 217304 304 229928 0 0 Exec
53 0 109248 192 96064 0 0 DHCPD Receive
56 0 0 0 32928 0 0 COPS
19 0 39048 0 25192 0 0 Net Background
42 0 0 0 24960 0 0 L2X Data Daemon
58 0 192 192 24928 0 0 X.25 Background
43 0 192 192 24928 0 0 PPP IP Route
49 0 0 0 24928 0 0 TCP Protocols
48 0 0 0 24928 0 0 TCP Timer
17 0 192 192 24928 0 0 XML Proxy Client
9 0 0 0 24928 0 0 Policy Manager
40 0 0 0 24928 0 0 L2X SSS manager
29 0 0 0 24928 0 0 IP Input
44 0 192 192 24928 0 0 PPP IPCP
32 0 192 192 24928 0 0 PPP Hooks
34 0 0 0 24928 0 0 SSS Manager
41 0 192 192 24928 0 0 L2TP mgmt daemon
16 0 192 192 24928 0 0 Dialer event
35 0 0 0 24928 0 0 SSS Test Client
--More--
The following is sample output from the show
processes
memory command when a process ID (process-id ) is specified:
Router# show processes memory 1
Process ID: 1
Process Name: Chunk Manager
Total Memory Held: 8428 bytes
Processor memory holding = 8428 bytes
pc = 0x60790654, size = 6044, count = 1
pc = 0x607A5084, size = 1544, count = 1
pc = 0x6076DBC4, size = 652, count = 1
pc = 0x6076FF18, size = 188, count = 1
I/O memory holding = 0 bytes
Router# show processes memory 2
Process ID: 2
Process Name: Load Meter
Total Memory Held: 3884 bytes
Processor memory holding = 3884 bytes
pc = 0x60790654, size = 3044, count = 1
pc = 0x6076DBC4, size = 652, count = 1
pc = 0x6076FF18, size = 188, count = 1
I/O memory holding = 0 bytes
Examples
The following example shows the output of the show
processes
memory command before the changes to the summary information were made. Note that the Total in the show
processes
summary command output indicates total memory for all memory pools; in this example, the show
processes
memory total of 35423840 can be obtained by adding the Processor and I/O totals shown in the output of the show
memory
summary command. Note also that the show
processes
memory
sorted command lists the Total Processor Memory (matches the show
memory
summary Processor Total), but the show
processes
memory command (without the sorted keyword) lists the total for all memory pools (Processor plus I/O memory).
Router# show version | include IOS
Cisco IOS Software, 3600 Software (C3660-BIN-M), Version 12.3(9)
Router# show memory summary
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 61E379A0 27035232 8089056 18946176 17964108 17963664
I/O 3800000 8388608
2815088 5573520 5561520 5573472
.
.
.
Router# show processes memory
Total: 35423840
, Used: 10904192, Free: 24519648
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 14548868 3004980 9946092 0 0 *Init*
0 0 12732 567448 12732 0 0 *Sched*
.
.
.
Router# show processes memory sorted
Total: 27035232
, Used: 8089188, Free: 18946044
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 14548868 3004980 9946092 0 0 *Init*
64 0 76436 3084 74768 0 0 CEF process
.
.
.
Router# show version | include IOS
Cisco IOS Software, 3600 Software (c3660-p-mz), Version 12.0(29)S,
Router# show memory summary
Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 126CB10 49,331,668 6454676 42876992 42642208 42490796
Router# show processes memory
Total: 50,994,868
, Used: 6220092, Free: 44774776
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 6796228 627336 5325956 0 0 *Init*
0 0 200 29792 200 0 0 *Sched*
0 0 192 744 0 349000 0 *Dead*
1 0 0 0 12896 0 0 Chunk Manager
.
.
.
Router# show processes memory sorted
Total: 50,994,868
, Used: 6222644, Free: 44772224
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 6796228 627336 5325956 0 0 *Init*
13 0 39056 0 25264 0 0 Net Background
48 0 0 0 24896 0 0 L2X SSS manager
18 0 0 0 24896 0 0 IP Input
.
.
.
Examples
In a Cisco IOS Software Modularity image IOS, each process maintains its own heap memory, which is taken from the system
memory in blocks. The process reuses this memory as required. If all the memory that was requested in a block is no longer
in use, then the process can return the memory block to the system.
The following is sample output from the show
processes
memory command when a Cisco IOS Software Modularity image is running:
Router# show processes memory
System Memory : 262144K total, 113672K used, 148472K free
PID Text Data Stack Dynamic Total Process
1 0 0 12 0 12 kernel
12290 52 8 28 196 284 dumper.proc
3 12 8 8 144 172 devc-pty
4 132 8 8 32 180 devc-ser2681
6 16 12 24 48 100 pipe
8199 12 12 8 48 80 mqueue
8200 16 24 48 452 540 fsdev.proc
8201 52 20 8 96 176 flashfs_hes_slot1.proc
8202 52 20 8 80 160 flashfs_hes_bootflash.proc
8203 52 20 8 128 208 flashfs_hes_slot0.proc
8204 20 68 12 164 264 dfs_disk1.proc
8205 20 68 12 164 264 dfs_disk0.proc
8206 36 4 8 144 192 ldcache.proc
8207 32 8 20 164 224 syslogd.proc
8208 24 4 28 464 520 name_svr.proc
8209 124 104 28 344 600 wdsysmon.proc
8210 100 144 52 328 624 sysmgr.proc
8211 12 4 28 64 108 kosh.proc
12308 100 144 16 144 404 sysmgr.proc
12309 24 4 12 112 152 chkptd.proc
12310 12 4 8 96 120 syslog_dev.proc
12311 44 4 24 248 320 fh_metric_dir.proc
12312 36 4 24 216 280 fh_fd_snmp.proc
12313 36 4 24 216 280 fh_fd_intf.proc
12314 32 4 24 216 276 fh_fd_timer.proc
12315 40 4 24 216 284 fh_fd_ioswd.proc
12316 28 4 24 200 256 fh_fd_counter.proc
12317 80 20 44 368 512 fh_server.proc
12326 140 40 28 280 488 tcp.proc
12327 48 4 24 256 332 udp.proc
12328 4 4 28 4660 4696 iprouting.iosproc
12329 4 4 36 600 644 cdp2.iosproc
The table below describes the significant fields shown in the display.
Table 28. show processes memory (Software Modularity) Field Descriptions
Field
|
Description
|
total
|
Total amount of memory, in KB, on the device.
|
used
|
Amount of memory, in KB, used in the system.
|
free
|
Amount of free memory, in KB, available in the system.
|
PID
|
Process ID.
|
Text
|
Amount of memory, in KB, used by the text segment of the specified process.
|
Data
|
Amount of memory, in KB, used by the data segment of the specified process.
|
Stack
|
Amount of memory, in KB, used by the stack segment of the specified process.
|
Dynamic
|
Amount of memory, in KB, used by the dynamic segment of the specified process.
|
Total
|
Total amount of memory, in KB, used by the specified process.
|
Process
|
Process name.
|
The following example shows the output of the show
processes
memory
detailed command wherein the process (ios-base) holds sufficient memory to process a request of the Cisco IOS tasks without having
to request more memory from the system. So although the amount of memory of the Cisco IOS tasks increased, the ios-base process
does not consume more system memory.
Router# show processes memory detailed 16424 sorted holding
System Memory : 2097152K total, 1097777K used, 999375K free, 0K kernel reserved
Lowest(b) : 1017212928
Process sbin/ios-base, type IOS, PID = 16424
248904K total, 0K text, 0K data, 168K stack, 248736K dynamic
Heap : 385874960 total, 261213896 used, 124661064 free
Task TTY Allocated Freed Holding Getbufs Retbufs TaskName
0 0 156853816 11168 156365472 0 0 *Init*
38 0 65671128 3320184 62248368 0 0 PF_Init Process
661 0 73106800 38231816 33093704 0 0 PIM Process
487 0 2656186248 3806507384 33039576 0 0 cmfib
652 0 56256064 19166160 27087872 0 0 MFIB_mrib_read
4 0 91088216 68828800 13093720 0 0 Service Task
629 0 2059320 132840 1927392 0 0 Const2 IPv6 Pro
49 0 2155730560 2153990528 1741536 0 9579588 DiagCard1/-1
0 0 2510481432 1396998880 1463056 2804860 23260 *Dead*
444 0 7333952 5940064 1410992 0 0 FM core
411 0 12865536 7934952 1396544 0 0 CMET MGR
310 0 113849160 121164584 1284240 0 0 Exec
The following is sample output from the show
processes
memory command with details about the memory of process 12322 and the task with the ID of 1:
Router# show processes memory detailed 12322 taskid 1
System Memory : 262144K total, 113456K used, 148688K free
Process sbin/c7200-p-blob, type IOS, PID = 12322
16568K total, 16K text, 8K data, 64K stack, 16480K dynamic
Memory Summary for TaskID = 1
Holding = 10248
PC Size Count
0x7322FC74 9192 1
0x73236538 640 1
0x73231E8C 256 1
0x74175060 160 1
The table below describes the significant fields shown in the display that are different from the table above.
Table 29. show processes memory detailed process-id taskid Field Descriptions
Field
|
Description
|
type
|
Type of process: POSIX or IOS.
|
Memory Summary for TaskID
|
Task ID.
|
Holding
|
Amount of memory, in bytes, currently held by the task.
|
PC
|
Caller PC of the task.
|
Size
|
Amount of memory, in bytes, used by this task.
|
Count
|
Number of times that task has been called.
|
The following is sample output from the show
processes
memory command with details about the memory of POSIX process ID 234567 with summary process memory usage per allocator:
Router# show processes memory detailed 234567 alloc-summary
System Memory : 262144K total, 113672K used, 148472K free
Process sbin/sysmgr.proc, type POSIX, PID = 12308
404K total, 100K text, 144K data, 16K stack, 144K dynamic
81920 heapsize, 68620 allocated, 8896 free
Allocated Blocks
Address Usize Size Caller
0x0806C358 0x00000478 0x000004D0 0x721C7290
0x0806D1E0 0x00000128 0x00000130 0x72B90248
0x0806D318 0x00003678 0x000036E0 0x72B9820C
0x0806D700 0x000002A0 0x000002C0 0x72B8EB58
0x0806D770 0x00000058 0x00000060 0x72BA5488
0x0806D7D8 0x000000A0 0x000000B0 0x72B8D228
0x0806D8A8 0x00000200 0x00000208 0x721A728C
0x0806FF78 0x00000068 0x00000070 0x72BA78EC
0x08071438 0x0000005C 0x00000068 0x72B908A8
0x08071508 0x0000010E 0x00000120 0x72BA7AFC
0x08072840 0x000000A8 0x000000C0 0x7270A060
0x08072910 0x0000010C 0x00000118 0x7273A898
0x08072A30 0x000000E4 0x000000F0 0x72749074
0x08072B28 0x000000B0 0x000000B8 0x7276E87C
0x08072BE8 0x0000006C 0x00000078 0x727367A4
0x08072C68 0x000000B8 0x000000C0 0x7271E2A4
0x08072D30 0x000000D0 0x000000D8 0x7273834C
0x08072E10 0x00000250 0x00000258 0x72718A70
0x08073070 0x000002F4 0x00000300 0x72726484
0x08073378 0x000006A8 0x000006B0 0x73EA4DC4
0x08073A30 0x00000060 0x00000068 0x7352A9F8
0x08073B38 0x00000068 0x00000070 0x72B92008
0x08073BB0 0x00000058 0x00000060 0x72B9201C
0x08073EB8 0x00002FB4 0x000031C0 0x08026FEC
0x08074028 0x000020B8 0x000020C0 0x72709C9C
0x08077400 0x000000A0 0x000000A8 0x721DED94
0x08078028 0x000022B8 0x000022C0 0x727446B8
0x0807C028 0x00002320 0x00002328 0x72B907C4
Free Blocks
Address Size
0x0806FFF0 0x00000010
0x080714A8 0x00000058
0x08073E18 0x00000098
0x08073FE8 0x00000018
0x08076FA0 0x00000328
0x080774B0 0x00000B50
0x0807FFB8 0x00000048
0x08080028 0x00003FD8
The table below describes the significant fields shown in the display.
Table 30. show processes memory detailed alloc-summary Field Descriptions
Field
|
Description
|
heapsize
|
Size of the process heap, in KB,.
|
allocated
|
Amount of memory, in KB,, allocated from the heap.
|
free
|
Amount of free memory, in KB,, in the heap for the specified process.
|
Address
|
Block address, in hexadecimal.
|
Usize
|
Block size, in hexadecimal, without the trailer header.
|
Size
|
Block size, in hexadecimal.
|
Caller
|
Caller PC of the allocator of this block.
|
Examples
The following is sample output from the show
processes
memory command:
Switch#show proc memory
System memory : 1943928K total, 733702K used, 1210221K free, 153224K kernel reserved
Lowest(b) : 642265088
PID Text Data Stack Dynamic RSS Total Process
1 252 480 84 444 1648 3648 init
2 0 0 0 0 0 0 kthreadd
3 0 0 0 0 0 0 migration/0
4 0 0 0 0 0 0 ksoftirqd/0
5 0 0 0 0 0 0 migration/1
6 0 0 0 0 0 0 ksoftirqd/1
7 0 0 0 0 0 0 events/0
8 0 0 0 0 0 0 events/1
9 0 0 0 0 0 0 khelper
61 0 0 0 0 0 0 kblockd/0
62 0 0 0 0 0 0 kblockd/1
75 0 0 0 0 0 0 khubd
78 0 0 0 0 0 0 kseriod
83 0 0 0 0 0 0 kmmcd
120 0 0 0 0 0 0 pdflush
121 0 0 0 0 0 0 pdflush
122 0 0 0 0 0 0 kswapd0
123 0 0 0 0 0 0 aio/0
124 0 0 0 0 0 0 aio/1
291 0 0 0 0 0 0 kpsmoused
309 0 0 0 0 0 0 rpciod/0
310 0 0 0 0 0 0 rpciod/1
354 92 180 84 136 456 2188 udevd
700 0 0 0 0 0 0 loop1
716 0 0 0 0 0 0 loop2
732 0 0 0 0 0 0 loop3
2203 424 164 84 132 1172 3180 dbus-daemon
2539 76 160 84 132 532 1788 portmap
2545 76 160 84 132 532 1788 portmap
2588 232 396 84 132 992 4596 sshd
2602 196 320 84 132 752 2964 xinetd
2606 196 320 84 132 748 2964 xinetd
3757 76 160 84 132 532 1788 vsi work/0
3758 76 160 84 132 532 1788 vsi work/1
--More--
The following is sample output from the show
processes
memory
detailed command:
Switch#show proc memory detailed
System memory : 1943928K total, 734271K used, 1209657K free, 153224K kernel reserved
Lowest(b) : 642265088
PID Text Data Stack Dynamic RSS Total Process
1 252 480 84 444 1648 3648 init
354 92 180 84 136 456 2188 udevd
2203 424 164 84 132 1172 3180 dbus-daemon
2539 76 160 84 132 532 1788 portmap
2545 76 160 84 132 532 1788 portmap
2588 232 396 84 132 992 4596 sshd
2602 196 320 84 132 752 2964 xinetd
2606 196 320 84 132 748 2964 xinetd
3757 76 160 84 132 532 1788 vsi work/0
3758 76 160 84 132 532 1788 vsi work/1
3891 848 148 84 88 1432 2984 check_gdb_statu
3895 72 160 84 132 580 1676 watchdog
4453 848 276 84 216 1512 3112 app_printf.sh
4465 848 272 84 212 1508 3108 app_printf.sh
4596 148 43972 84 528 5176 56664 slproc
TaskID TTY Allocated Freed Holding Getbufs Retbufs Task
1 0 327920 1544 367952 0 0 Chunk Manager
2 0 184 184 37032 0 0 Load Meter
3 0 0 0 40032 0 0 Deferred Events
4 0 17840 3888 40032 0 0 SpanTree Helper
5 0 0 0 40032 0 0 Retransmission of I
6 0 0 0 40032 0 0 IPC ISSU Receive Pr
7 0 0 0 40032 0 0 Check heaps
8 0 179248 173976 45304 144568 140316 Pool Manager
9 0 184 184 40032 0 0 Timers
10 0 184 184 40032 0 0 Serial Background
--More--
The following is sample output from the show
processes
memory
detailed command specifying the Iosd process:
Switch#show proc memory detailed process iosd
Processor Pool Total: 805306368 Used: 225960152 Free: 579346216
I/O Pool Total: 16777216 Used: 216376 Free: 16560840
PID TTY Allocated Freed Holding Getbufs Retbufs Process
0 0 226577984 4410320 211589320 0 0 *Init*
0 0 0 1591600 0 0 0 *Sched*
0 0 2568488 1960496 676992 5368513 362940 *Dead*
1 0 327920 1544 367952 0 0 Chunk Manager
2 0 184 184 37032 0 0 Load Meter
3 0 0 0 40032 0 0 Deferred Events
4 0 17840 3888 40032 0 0 SpanTree Helper
5 0 0 0 40032 0 0 Retransmission o
6 0 0 0 40032 0 0 IPC ISSU Receive
7 0 0 0 40032 0 0 Check heaps
8 0 210880 205608 45304 170080 165828 Pool Manager
9 0 184 184 40032 0 0 Timers
10 0 184 184 40032 0 0 Serial Backgroun
--More--
The following is sample output from the show
processes
memory
sorted command:
Switch#show proc memory sorted
System memory : 1943928K total, 734279K used, 1209649K free, 153224K kernel reserved
Lowest(b) : 642265088
PID Text Data Stack Dynamic RSS Total Process
10319 67716 798420 84 252 954524 1012856 iosd
4888 1132 200108 84 4076 26772 275408 ffm
4884 620 690480 84 5328 18564 728076 eicored
7635 144 181696 84 7464 16660 202620 cli_agent
9374 1048 298308 84 1128 11488 328992 licensed
10335 1676 257544 84 1252 11044 293848 licenseagentd
4852 208 208996 84 1848 10812 237632 ha_mgr
7566 168 249336 84 1408 8560 273668 installer
7585 268 167656 84 1616 8432 185556 snmp_subagent
4880 308 135080 84 968 8200 153944 os_info_p
4894 100 232936 84 1144 8072 252748 plogd
7410 68 233708 84 1172 7928 253840 dtmgr
10329 160 142384 84 832 7144 228360 cpumemd
4968 104 158828 84 1052 7080 178184 iifd
5047 88 165604 84 700 6196 181184 pdsd
4870 80 157452 84 728 6088 172244 sysmgr
4856 200 132816 84 688 5872 147940 oscore_p
--More--
The table below describes the significant fields shown in the display.
Table 31. show processes memory Field Descriptions
Field
|
Description
|
Processor Pool Total
|
Total amount of memory, in KB, held for the Processor memory pool.
|
I/O Pool Total
|
Total amount of memory, in KB, held for the I/O memory pool.
|
Used
|
Total amount of used memory, in KB, in the Processor/I/O memory pool.
|
Free
|
Total amount of free memory, in in KB, in the Processor/I/O memory pool.
|
PID
|
Process ID.
|
TTY
|
Terminal that controls the process.
|
Allocated
|
Bytes of memory allocated by the process.
|
Freed
|
Bytes of memory freed by the process, regardless of who originally allocated it.
|
Holding
|
Amount of memory, in KB, currently allocated to the process.
|
Getbufs
|
Number of times the process has requested a packet buffer.
|
Retbufs
|
Number of times the process has relinquished a packet buffer.
|
Process
|
Process name.
|
*Init*
|
System initialization process.
|
*Sched*
|
The scheduler process.
|
*Dead*
|
Processes as a group that are now dead.
|
<value> Total
|
Total amount of memory, in KB, held by all processes (sum of the “Holding” column).
|