Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

OIDs: cpqHoPagingMemorySize and cpqHoPagingMemoryFree - what do they mean?

 
EdgarZamora_1
Respected Contributor

OIDs: cpqHoPagingMemorySize and cpqHoPagingMemoryFree - what do they mean?

I'm mucking around with SMH (System Management Homepage) and I can't reconcile the values I'm getting for these two snmp OIDs:

cpqHoPagingMemorySize OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Total virtual memory available from the OS (in megabytes).

A -1 will be returned if this value could not be determined."
::= { cpqHoMemory 3 }

cpqHoPagingMemoryFree OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Available paging memory (in megabytes).

A -1 will be returned if this value could not be determined."
::= { cpqHoMemory 4 }

For cpqHoPagingMemorySize I get a value of 929. For cpqHoPagingMemoryFree I am getting a negative value of -928. I'm not sure what these two OIDs really mean. They don't match my pagefile utilization, so I doubt they're related to the pagefile, and I can't seem to reconcile them with my memory use.

SHOW MEM output:

CLCC1> sho mem/full
System Memory Resources on 11-JUL-2008 15:00:02.40

Physical Memory Usage (pages): Total Free In Use Modified
Main Memory (3.00GB) 393216 147855 225156 20205

Extended File Cache (Time of last reset: 6-JUL-2008 23:35:22.09)
Allocated (GBytes) 1.46 Maximum size (GBytes) 1.50
Free (GBytes) 0.00 Minimum size (GBytes) 0.00
In use (GBytes) 1.46 Percentage Read I/Os 91%
Read hit rate 88% Write hit rate 0%
Read I/O count 281673928 Write I/O count 25004591
Read hit count 249820464 Write hit count 0
Reads bypassing cache 6284358 Writes bypassing cache 6170510
Files cached open 625 Files cached closed 15
Vols in Full XFC mode 0 Vols in VIOC Compatible mode 9
Vols in No Caching mode 0 Vols in Perm. No Caching mode 0

Granularity Hint Regions (pages): Total Free In Use Released
Execlet code region 1024 0 929 95
Execlet data region 512 0 414 98
S0S1 Executive data region 1084 0 1084 0
S0S1 Resident image code region 2048 0 1213 835

Slot Usage (slots): Total Free Resident Swapped
Process Entry Slots 787 639 148 0
Balance Set Slots 785 639 146 0

Dynamic Memory Usage: Total Free In Use Largest
Nonpaged Dynamic Memory (MB) 9.61 4.55 5.06 0.10
Bus Addressable Memory (KB) 128.00 126.87 1.12 126.87
Paged Dynamic Memory (MB) 7.18 3.21 3.97 3.20
Lock Manager Dyn Memory (MB) 1.59 0.29 1.29

Buffer Object Usage (pages): In Use Peak
32-bit System Space Windows (S0/S1) 0 0
64-bit System Space Windows (S2) 90 93
Physical pages locked by buffer objects 90 0

Memory Reservations (pages): Group Reserved In Use Type
Total (0 bytes reserved) 0 0

Swap File Usage (8KB pages): Index Free Size
DISK$DEVSYS:[SYS0.SYSEXE]SWAPFILE.SYS
1 4232 4232

Paging File Usage (8KB pages): Index Free Size
DISK$DEVSYS:[SYS0.SYSEXE]PAGEFILE.SYS
254 250000 250000
Total committed paging file usage: 39461

Of the physical pages in use, 9520 pages are permanently allocated to OpenVMS.
CLCC1>


I've also tried adding up the totals of the pages in working set of all my processes and I'm not getting any match. What I also don't understand is why the cpqHoPagingMemoryFree is a negative number (I tried installing the software on another system and I got a positive number but still can't figure out where this number is coming from).

Thanks in advance for any clues!
1 REPLY 1
Jake Paulus
Occasional Visitor

Re: OIDs: cpqHoPagingMemorySize and cpqHoPagingMemoryFree - what do they mean?

I am also completely confused by this. As shown below, values do not appear to be consistent. These are all on OpenVMS 8.3 running the latest version of SMH.

HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3107612 KBytes

HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory
HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageRam
HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageRam


HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 1 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 8192 Bytes
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 32 Bytes


HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 250000
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 4232
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 10084352
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 7536640
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 306691
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 1379


HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 0
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 5348416
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 4166576
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 14492
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 1379


10084352
7536640
306691*8192=2512412672
1379*32=44128
------------
total=2530077792 bytes



5348416
4166576
14492*8192=118718464
1379*32=44128
------------
used=128277584 bytes



Real 128277584/2530077792 bytes
Virtual 0/2082668544 bytes

CPQHOST-MIB::cpqHoPhysicalMemorySize.0 = INTEGER: 3072
CPQHOST-MIB::cpqHoPhysicalMemoryFree.0 = INTEGER: 1160
CPQHOST-MIB::cpqHoPagingMemorySize.0 = INTEGER: 929
CPQHOST-MIB::cpqHoPagingMemoryFree.0 = INTEGER: -989