cpmThreadState

CISCO-PROCESS-MIB · .1.3.6.1.4.1.9.9.109.1.3.1.1.4

Object

column Enumeration
This object indicates the current state of a thread.
Running state means that the thread is actively 
consumig CPU. All the other states are just waiting 
states. The valid states are:
other         - Any other state apart from the listed 
                ones.
dead          - Kernel is waiting to release the 
                thread's resources.
running       - Actively running on a CPU.
ready         - Not running on a CPU, but is ready to 
                run (one or more higher or equal 
                priority threads are running).
stopped       - Suspended (SIGSTOP signal).
send          - Waiting for a server to receive 
                a message.
receive       - Waiting for a client to send a message.
reply         - Waiting for a server to reply to a 
                message.
stack         - Waiting for more stack to be allocated.
waitpage      - Waiting for process manager to 
                resolve a fault on a page.
sigsuspend    - Suspended for a signal.
sigwaitinfo   - Waiting for a signal.
nanosleep     - Sleeping for a period of time.
mutex         - Waiting to acquire a mutex
condvar       - Waiting for a condition variable to be 
                signalled.
join          - Waiting for the completion of another 
                thread.
intr          - Waiting for an interrupt.
sem           - Waiting to acquire a semaphore.

Context

MIB
CISCO-PROCESS-MIB
OID
.1.3.6.1.4.1.9.9.109.1.3.1.1.4
Type
column
Access
readonly
Status
current
Parent
cpmThreadEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PROCESS-MIB::cpmThreadState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PROCESS-MIB::cpmThreadState.<cpmCPUTotalIndex>.<cpmProcessPID>.<cpmThreadID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PROCESS-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PROCESS-MIB::cpmThreadState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1other
2dead
3running
4ready
5stopped
6send
7receive
8reply
9stack
10waitpage
11sigsuspend
12sigwaitinfo
13nanosleep
14mutex
15condvar
16join
17intr
18sem

Conformance