cpqLinOsSysContextSwitchesPersec
CPQLINOS-MIB ·
.1.3.6.1.4.1.232.23.2.2.4
Object
Context Switches/sec is the combined rate at which all processors on the computer are switched from one thread to another. Context switches occur when a running thread voluntarily relinquishes the processor, is preempted by a higher priority ready thread, or switches between user-mode and privileged (kernel) mode to use an Executive or subsystem service. It is the sum of Thread: Context Switches/sec for all threads running on all processors in the computer and is measured in numbers of switches. There are context switch counters on the System and Thread objects.
Context
- MIB
- CPQLINOS-MIB
- OID
.1.3.6.1.4.1.232.23.2.2.4- Type
- scalar
- Access
- readonly
- Status
- mandatory
- Parent
- cpqLinOsSystem
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 'CPQLINOS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQLINOS-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647