hwTaskStatus

HUAWEI-TASK-MIB · .1.3.6.1.4.1.2011.5.25.27.1.1.1.4

Object

The status of the specified task. The parameter have seventeen different value.
Normally a task may be status of the following:
normalready(0): task is ready,  
block(1): task is blocked,
slept(2): task is slept,
suspend(4): task is suspended blocked,
blockAndSuspend(5): task is suspended blocked,
sleepAndSuspend(6): task is slept and suspended,
running(8): task is running,
queueblock(17): task is blocked on receiving queue messages,
queueblockAndSuspend(21): task is blocked on receiving queue messages and suspended,
semaphoreblock(33): task is blocked on taking a semaphore,
semaphoreblockAandSuspend(37): task is blocked on taking a semaphore and suspended,
eventblock(65): task is blocked on receiving events,
eventblockAndSuspend(69): task is blocked on receiving events and suspended,
prioblock(128): task is priblock,
preemptready(256): task is preempt ready,
writequeueblock(513): task is blocked on sending queue messages,
writequeueblockAndSuspend(517): task is blocked on sending queue messages and suspended.

Context

MIB
HUAWEI-TASK-MIB
OID
.1.3.6.1.4.1.2011.5.25.27.1.1.1.4
Type
column
Access
readonly
Status
current
Parent
hwTaskEntry
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 'HUAWEI-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-TASK-MIB::hwTaskStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-TASK-MIB::hwTaskStatus.<hwTaskIndex>.<hwTaskID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-TASK-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-TASK-MIB::hwTaskStatus'

Syntax

Source
HwTaskStatusType
Base type
Enumeration

Values & Constraints

Type Values
0normalready
1block
2sleep
4suspend
5blockAndSuspend
6sleptAndSuspend
8running
17queueblock
21queueblockAndSuspend
33semaphoreblock
37semaphoreblockAandSuspend
65eventblock
69eventblockAndSuspend
128prioblock
256preemptready
513writequeueblock
517writequeueblockAndSuspend

Conformance

Member of