All MIBs › CPQLINOS-MIB › cpqLinOsSysContextSwitchesPersec
cpqLinOsSysContextSwitchesPersec
Module: CPQLINOS-MIB
OID (symbolic): CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec
OID (numeric): 1.3.6.1.4.1.232.23.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 cpqLinOsSysContextSwitchesPersec?
This read-only integer reports the combined rate at which all processors on the computer are switching from one thread to another, including preemption and user/kernel mode transitions. An admin watches this as an indicator of scheduling overhead; an unusually high rate can suggest thread contention or excessive context-switch churn hurting overall throughput. For example, a sudden sustained spike in this counter coinciding with a slowdown in application response times would lead an admin to suspect a thrashing or lock-contention problem in a running process.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.23.2.2.4 snmpwalk -v2c -c public <target> CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.23.2.2.4.1 snmpget -v2c -c public <target> CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec.1
Start monitoring Compaq/HP ProLiant server running Linux with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPQLINOS-MIB::cpqLinOsSysContextSwitchesPersec OID value, configure state conditions and alerts, and monitor any Compaq/HP ProLiant server running Linux 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.23 | cpqLinOsMgmt | CPQLINOS-MIB |
| 1.3.6.1.4.1.232.23.2 | cpqLinOsComponent | CPQLINOS-MIB |
| 1.3.6.1.4.1.232.23.2.2 | cpqLinOsSystem | CPQLINOS-MIB |
| 1.3.6.1.4.1.232.23.2.2.4 | cpqLinOsSysContextSwitchesPersec | CPQLINOS-MIB |