All MIBs › KERNEL-READER-SUNMANAGEMENTCENTER-MIB › krNumOfContextSwitches
krNumOfContextSwitches
Module: KERNEL-READER-SUNMANAGEMENTCENTER-MIB
OID (symbolic): KERNEL-READER-SUNMANAGEMENTCENTER-MIB::krNumOfContextSwitches
OID (numeric): 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1.1.2
Node type: OBJECT-TYPE
Type: Counter64
Access: read-only
Description: The rate of number of context switches. Number of context switches is calculated at different times which is either when refresh interval reaches or when the mannual refresh is issued. If at time T1 the value is X and at time T2 the value is Y then krNumOfContextSwitches = (Y - X)/(T2 - T1).
What is krNumOfContextSwitches?
Rate of context switches occurring on this CPU between samples; a sharply rising rate can indicate thread thrashing or excessive scheduling overhead relative to actual work done.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1.1.2 snmpwalk -v2c -c public <target> KERNEL-READER-SUNMANAGEMENTCENTER-MIB::krNumOfContextSwitches
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1.1.2.1 snmpget -v2c -c public <target> KERNEL-READER-SUNMANAGEMENTCENTER-MIB::krNumOfContextSwitches.1
Start monitoring Sun/Solaris server managed via Sun Management Center with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the KERNEL-READER-SUNMANAGEMENTCENTER-MIB::krNumOfContextSwitches OID value, configure state conditions and alerts, and monitor any Sun/Solaris server managed via Sun Management Center from a single console.
OID Breakdown
Upper-level ancestors (13 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.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.12 | kernelReader | KERNEL-READER-SIMPLE-MIB2 |
| 1.3.6.1.4.1.42.2.12.2.2.12.5 | cpudetail | KERNEL-READER-SIMPLE-MIB2 |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.42.2.12.2.2.12.5.4 | krCPUInterruptsGroup | KERNEL-READER-SUNMANAGEMENTCENTER-MIB |
| 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1 | krCPUIntrTable | KERNEL-READER-SUNMANAGEMENTCENTER-MIB |
| 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1.1 | krCPUIntrEntry | KERNEL-READER-SUNMANAGEMENTCENTER-MIB |
| 1.3.6.1.4.1.42.2.12.2.2.12.5.4.1.1.2 | krNumOfContextSwitches | KERNEL-READER-SUNMANAGEMENTCENTER-MIB |