Re: Monitoring Memory Utilization(%) on a router.

From: Herve Bruyere (hbruyere@cisco.com)
Date: Tue Feb 11 2003 - 08:17:46 GMT-3


simonkc@netsol.co.in wrote:
> Hi,
>
> 1) i do a "show memory" on a cisco 26xx router. It shows me the Total
> Processor Memory and Total IO memory.
> When i add up these 2 values, why is it not equal to total amount of DRAM in
> your router (as shown by sh ver)???

Simply because Processor + I/O mem is not equal total DRAM.

The IOS loaded in RAM and additional datas need also some space:

muuma#sh ver | i with
cisco 2611 (MPC860) processor (revision 0x202) with 28672K/4096K bytes of memory.

muuma#sh mem
                Head Total(b) Used(b) Free(b) Lowest(b) Largest(b)
Processor 80B7D5D0 17312304 2375180 14937124 14745720 14822080
       I/O 1C00000 4194304 1709592 2484712 2484712 2484668

Below you can see that the total main memory + I/O fits the physical 32 megs:

muuma#sh region
Region Manager:

       Start End Size(b) Class Media Name
  0x01C00000 0x01FFFFFF 4194304 Iomem R/W iomem
  0x60000000 0x60FFFFFF 16777216 Flash R/O flash
  0x80000000 0x81BFFFFF 29360128 Local R/W main
  0x80008088 0x807C18AB 8099876 IText R/O main:text
  0x807C18AC 0x80A78F27 2848380 IData R/W main:data
  0x80A78F28 0x80B7D5CF 1066664 IBss R/W main:bss
  0x80B7D5D0 0x81BFFFFF 17312304 Local R/W main:heap

Regards,
Herve

>
> 2)Assuming the "sh memory" output does not give us the correct picture about
> memory utilization, which MIBs and objects should we monitor to get the
> memory utilization( as a %)of the router?
> Or can we atleast get the "free memory" , "used memory" or "total memory"
> via SNMP and using MIB expressions, we can compute the Memory utilization as
> a %??What are the MIBs and objects to get this info?
>
> Cheers
> Simon
> .
.



This archive was generated by hypermail 2.1.4 : Sat Mar 01 2003 - 11:06:18 GMT-3