ssCpuNumCpus
UCD-SNMP-MIB ·
.1.3.6.1.4.1.2021.11.67
Object
scalar SNMPv2-SMIInteger32
The number of processors, as counted by the agent.
This object's value may be useful in the management
of certain operating systems where notions such as
load average do not take into account the number of
processors in the system.
For other objects in the systemStats group whose
descriptions refer to 'N processors', this object's
value is N.
Context
- MIB
- UCD-SNMP-MIB
- OID
.1.3.6.1.4.1.2021.11.67- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- systemStats
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::ssCpuNumCpus.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::ssCpuNumCpus'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647