HUAWEI-TASK-MIB
Functions Overview
A task is a minimum program unit that can be scheduled by the operating system and processed by the CPU. It occupies the system resource. A task is a process to implement a relatively independent function.
Each task has its stack space. All tasks run in a linear space.
A complex system consists of a series of tasks and Interrupt Service Routines (ISRs). Tasks are parallel, so they run independently. The system manages the task according to features of the task, such as dynamic, concurrent and synchronous association.
The following is specified when a task is created:
Whether it is scheduled by the system or the user
Whether it can be preempted or disrupted by other tasks
Whether the time-sharing schedule is allowed
A task has its priority. The preceding features can be modified dynamically.
This MIB is mainly to list the task status, the CPU occupancy rate and the duration of each task.
The OID of root objects is: iso(1).org(3).dod(6).internet(1).private(4).enterprises(1).huawei(2011).huaweiMgmt(5).hwDataComm(25).hwTask(27)
This MIB supports one table, hwTaskTable.
Description of MIB Tables
hwTaskTable
This table describes the tasks including task name, CPU occupancy rate and task duration, on the device. It supports GET and GET-NEXT. In addition, SNMPv2 and SNMPv3 support GET-BULK. However, SET is not supported.
The indexes of this table are hwTaskIndex and hwTaskID.
OID |
Object Name |
Syntax |
Max Access |
Description |
Implemented Specifications |
---|---|---|---|---|---|
1.3.6.1.4.1.2011.5.25.27.1.1.1.1 |
hwTaskIndex |
INTEGER (0..4294967295) |
Not-accessible |
This object indicates the slot number that processes the task. The MIB contains the information only on the main control board. In the centralized mode, TaskIndex is 0; in the distributed mode, TaskIndex is the slot number of the main control board. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.27.1.1.1.2 |
hwTaskID |
INTEGER (0..4294967295) |
Not-accessible |
This object indicates the task ID. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.27.1.1.1.3 |
hwTaskName |
DisplayString (SIZE (1..255)) |
Read-only |
This object indicates the task name. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.27.1.1.1.4 |
hwTaskStatus |
INTEGER{normalready(0),block(1),sleep(2),suspend(4),blockAndSuspend(5),sleptAndSuspend(6),running(8),queueblock(17),queueblockAndSuspend(21),semaphoreblock(33),semaphoreblockAandSuspend(37),eventblock(65),eventblockAndSuspend(69),prioblock(128),preemptready(256),writequeueblock(513),writequeueblockAndSuspend(517)} |
Read-only |
The value of this object identifies the status of the task. The indication of the character string but not numbers is displayed. Possible status is as follows:
|
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.27.1.1.1.5 |
hwTaskCpuUsage |
INTEGER (0..4294967295) |
Read-only |
This object indicates the CPU occupancy. It ranges from 0 to 100. |
This object is implemented as defined in the corresponding MIB files. |
1.3.6.1.4.1.2011.5.25.27.1.1.1.6 |
hwTaskuSecs |
INTEGER (0..4294967295) |
Read-only |
This object indicates the operating time of a task after the system is started up, in milliseconds. |
This object is implemented as defined in the corresponding MIB files. |
Creation Restriction
This table cannot be created.
Modification Restriction
This table cannot be modified.
Deletion Restriction
This table cannot be modified.
Access Restriction
The following objects are accessible:
hwTaskName
hwTaskStatus
hwTaskCpuUsage
hwTaskuSecs