[c-nsp] OSM memory allocating process question
Emanuel Popa
emanuel.popa at gmail.com
Fri Mar 31 16:36:04 EST 2006
On 3/31/06, Rodney Dunn <rodunn at cisco.com> wrote:
> Can you get a 'sh proc mem sort' and then get a 'sh proc mem <PID>
> for the few processes holding the top amounts of memory?
sure thing, no problem:
Processor Pool Total: 92022656 Used: 91906968 Free: 115688
I/O Pool Total: 16777216 Used: 3925104 Free: 12852112
PID TTY Allocated Freed Holding Getbufs Retbufs Process
53 0 46620360 67919248 45002816 12756 0 CEF LC IPC Backg
0 0 38314632 101288 37606568 0 0 *Init*
0 0 107464736 95140848 11862752 931396 0 *Dead*
67 0 327216 730672 327216 0 0 CEF process
5 0 844176 909928 191984 677192 611556 Pool Manager
55 0 109096 152072 94856 0 0 CEF MQC IPC Back
54 0 772412888 704691128 72648 0 0 CEF LC Stats
[..]
and now each process, but it's quite a lot of output:
CWTLC-Slot1#sh processes memory 53
Process ID: 53
Process Name: CEF LC IPC Background
Total Memory Held: 45002816 bytes
Processor memory Holding = 44989856 bytes
pc = 0x604CD6A8, size = 30718952, count = 912
pc = 0x604CD7D8, size = 11679168, count = 354
pc = 0x604C18B8, size = 1377432, count = 21
pc = 0x605233A0, size = 262216, count = 1
pc = 0x60507B74, size = 196808, count = 3
pc = 0x604BB0B8, size = 131128, count = 1
pc = 0x6049A008, size = 68392, count = 103
pc = 0x604A6E20, size = 66512, count = 2
pc = 0x604A6C44, size = 66416, count = 2
pc = 0x60523358, size = 65592, count = 1
pc = 0x604C1FC0, size = 65592, count = 1
pc = 0x60507B5C, size = 65592, count = 1
pc = 0x60507C04, size = 65592, count = 1
pc = 0x604A5908, size = 65296, count = 14
pc = 0x60498EB4, size = 28672, count = 112
pc = 0x604C54FC, size = 8912, count = 111
pc = 0x604C5508, size = 8896, count = 111
pc = 0x604C6F68, size = 8240, count = 102
pc = 0x604C6F5C, size = 8216, count = 102
pc = 0x60514E04, size = 7144, count = 1
pc = 0x605040E0, size = 6088, count = 1
pc = 0x6018CCE4, size = 6056, count = 1
pc = 0x60515B44, size = 3712, count = 16
pc = 0x600E6904, size = 2616, count = 3
pc = 0x6057F904, size = 2352, count = 3
pc = 0x604A58DC, size = 1160, count = 14
pc = 0x60192D84, size = 640, count = 1
pc = 0x604A0F8C, size = 480, count = 4
pc = 0x605AF6B0, size = 368, count = 4
pc = 0x602E87B0, size = 360, count = 3
pc = 0x60498F8C, size = 352, count = 4
pc = 0x6058C79C, size = 208, count = 1
pc = 0x6017CB2C, size = 192, count = 1
pc = 0x6019B9C8, size = 168, count = 1
pc = 0x604C1F68, size = 88, count = 1
pc = 0x602904C0, size = 88, count = 1
pc = 0x6058C7D8, size = 80, count = 1
pc = 0x604A6E04, size = 80, count = 1
I/O memory Holding = 12960 bytes
pc = 0x600E6A54, size = 12960, count = 3
CWTLC-Slot1#sh processes memory 67
Process ID: 67
Process Name: CEF process
Total Memory Held: 327216 bytes
Processor memory Holding = 327216 bytes
pc = 0x6049DAE4, size = 320056, count = 1
pc = 0x6018CCE4, size = 6056, count = 1
pc = 0x60192D84, size = 640, count = 1
pc = 0x6017CB2C, size = 192, count = 1
pc = 0x6019B9C8, size = 168, count = 1
pc = 0x605AF6B0, size = 104, count = 1
I/O memory Holding = 0 bytes
CWTLC-Slot1#sh processes memory 5
Process ID: 5
Process Name: Pool Manager
Total Memory Held: 191984 bytes
Processor memory Holding = 67056 bytes
pc = 0x600E6904, size = 60168, count = 69
pc = 0x6018CCE4, size = 6056, count = 1
pc = 0x60192D84, size = 640, count = 1
pc = 0x6017CB2C, size = 192, count = 1
I/O memory Holding = 124928 bytes
pc = 0x600E6A54, size = 124928, count = 69
CWTLC-Slot1#sh processes memory 55
Process ID: 55
Process Name: CEF MQC IPC Background
Total Memory Held: 94856 bytes
Processor memory Holding = 94856 bytes
pc = 0x605440BC, size = 65592, count = 1
pc = 0x6018CCE4, size = 6056, count = 1
pc = 0x601BE964, size = 5216, count = 22
pc = 0x601BE8E0, size = 3352, count = 22
pc = 0x604D4790, size = 2288, count = 13
pc = 0x601C4678, size = 2232, count = 13
pc = 0x6017C5B0, size = 1560, count = 1
pc = 0x601C7214, size = 1552, count = 9
pc = 0x601C46D4, size = 1512, count = 13
pc = 0x601C474C, size = 1248, count = 13
pc = 0x604D393C, size = 1008, count = 9
pc = 0x604D3B50, size = 864, count = 9
pc = 0x601C7234, size = 840, count = 9
pc = 0x601C73B8, size = 704, count = 8
pc = 0x60192D84, size = 640, count = 1
pc = 0x6017CB2C, size = 192, count = 1
I/O memory Holding = 0 bytes
CWTLC-Slot1#sh processes memory 54
Process ID: 54
Process Name: CEF LC Stats
Total Memory Held: 72648 bytes
Processor memory Holding = 72648 bytes
pc = 0x604C28FC, size = 65592, count = 1
pc = 0x6018CCE4, size = 6056, count = 1
pc = 0x60192D84, size = 640, count = 1
pc = 0x6017CB2C, size = 192, count = 1
pc = 0x6019B9C8, size = 168, count = 1
I/O memory Holding = 0 bytes
I don't really get that, but if you do and it is something
interesting, please share with us!
Emanuel
More information about the cisco-nsp
mailing list