memTotalSwapTXT
UCD-SNMP-MIB ·
.1.3.6.1.4.1.2021.4.7
Object
scalar kBSNMPv2-SMIInteger32
The total amount of swap space or virtual memory allocated
for text pages on this host.
This object will not be implemented on hosts where the
underlying operating system does not distinguish text
pages from other uses of swap space or virtual memory.
Context
- MIB
- UCD-SNMP-MIB
- OID
.1.3.6.1.4.1.2021.4.7- Type
- scalar
- Access
- readonly
- Status
- current
- Units
- kB
- Parent
- memory
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'UCD-SNMP-MIB::memTotalSwapTXT.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'UCD-SNMP-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'UCD-SNMP-MIB::memTotalSwapTXT'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647