How to the CAPC calculate the Average Memory Utilization

Document ID : KB000128983
Last Modified Date : 07/03/2019
Show Technical Document Details
Introduction:
The CAPC report show the Average Memory Utilization but is need to know if value is correct
 
Environment:
PM 3.6
Instructions:
Average Memory Utilization calculate
 
Using as example the vendor certification ‘Cisco CPM Memory’
 
Formula for Utilization:
snmpProtectedDiv ((100.0 * cpmCPUMemoryUsed),(cpmCPUMemoryFree + cpmCPUMemoryUsed))

 
Find the OID’s on Google:
cpmCPUMemoryUsed = 1.3.6.1.4.1.9.9.109.1.1.1.1.12.$1
 
cpmCPUMemoryFree = 1.3.6.1.4.1.9.9.109.1.1.1.1.13.$1
 
OID’s values from Spectrum MIB tools:
cpmCPUMemoryUsed           7          3886600          Gauge 1.3.6.1.4.1.9.9.109.1.1.1.1.12
cpmCPUMemoryFree            7          64080  Gauge 1.3.6.1.4.1.9.9.109.1.1.1.1.13
 
Calculating:
Memory Utilization = cpmCPUMemoryUsed / cpmCPUMemoryUsed + cpmCPUMemoryFree
= (3886600) / (3886600 + 64080)
 
= 3886600 / 3950680
 
= 0.9837800074923811 * 100
 
= 98.37%
 
With this evidence we can to affirm that the Average Memory Utilization calculate is correctly
 
You can to check with Device Administrator if this information is correct
 
Note: If the OID has index the calculate is:
cpmCPUMemoryUsed:
1.3.6.1.4.1.9.9.109.1.1.1.1.12.19, Gauge , 2819964
1.3.6.1.4.1.9.9.109.1.1.1.1.12.20, Gauge , 3107712
 
cpmCPUMemoryFree:
1.3.6.1.4.1.9.9.109.1.1.1.1.13.19, Gauge , 1157900
1.3.6.1.4.1.9.9.109.1.1.1.1.13.20, Gauge , 870152
 
Memory Utilization = cpmCPUMemoryUsed / cpmCPUMemoryUsed + cpmCPUMemoryFree
= (2819964 + 3107712) / ((2819964 + 3107712) + (1157900 + 870152))
 
= 5927676 / (5927676 + 2028052)
 
= 5927676 / 7955728
 
= 0.74508278815 * 100
 
= 74.51%