All MIBs › AGENT-STATS-MIB2 › context
context
Module: AGENT-STATS-MIB2
OID (symbolic): AGENT-STATS-MIB2::context
OID (numeric): 1.3.6.1.4.1.42.2.12.2.2.30.4.14
Node type: OBJECT-TYPE
Type: Integer32
Access: read-only
Description: The context switches of the process
What is context?
This OID reports an integer counter representing the number of context switches performed by the process. Operationally, high context-switch rates indicate excessive thread scheduling overhead that degrades application performance and throughput. A concrete example reading might be 15234, reflecting the cumulative context switches since the process started.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.14 snmpwalk -v2c -c public <target> AGENT-STATS-MIB2::context
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.30.4.14.1 snmpget -v2c -c public <target> AGENT-STATS-MIB2::context.1
Start monitoring Unix/Solaris hosts running an SNMP agent with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the AGENT-STATS-MIB2::context OID value, configure state conditions and alerts, and monitor any Unix/Solaris hosts running an SNMP agent from a single console.
OID Breakdown
Upper-level ancestors (6 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 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42 | sun | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2 | prod | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12 | sunsymon | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2 | agent | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2 | modules | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30 | agentStats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4 | procstats | AGENT-STATS-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.30.4.14 | context | AGENT-STATS-MIB2 |