All MIBs › CPQOS-MIB › cpqOsSysContextSwitchesPersec
cpqOsSysContextSwitchesPersec
Module: CPQOS-MIB
OID (symbolic): CPQOS-MIB::cpqOsSysContextSwitchesPersec
OID (numeric): 1.3.6.1.4.1.232.19.2.2.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: 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.
What is cpqOsSysContextSwitchesPersec?
This read-only integer reports the combined rate at which all processors on the computer switch execution from one thread to another each second, whether due to voluntary yields, preemption, or mode switches to kernel services. An admin monitors this as an indicator of system-wide scheduling overhead and CPU contention. For example, a sustained sharp rise in cpqOsSysContextSwitchesPersec alongside high CPU usage could indicate excessive thread contention degrading throughput.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.19.2.2.4 snmpwalk -v2c -c public <target> CPQOS-MIB::cpqOsSysContextSwitchesPersec
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.19.2.2.4.1 snmpget -v2c -c public <target> CPQOS-MIB::cpqOsSysContextSwitchesPersec.1
Start monitoring HP/Compaq shared storage subsystem (OpenStorage) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPQOS-MIB::cpqOsSysContextSwitchesPersec OID value, configure state conditions and alerts, and monitor any HP/Compaq shared storage subsystem (OpenStorage) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.232 | compaq | COMPAQ-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.232.19 | cpqWinOsMgmt | CPQOS-MIB |
| 1.3.6.1.4.1.232.19.2 | cpqOsComponent | CPQOS-MIB |
| 1.3.6.1.4.1.232.19.2.2 | cpqOsSystem | CPQOS-MIB |
| 1.3.6.1.4.1.232.19.2.2.4 | cpqOsSysContextSwitchesPersec | CPQOS-MIB |