No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R011C10 MIB Reference

This document provides the function overview, relationships between tables, description of single objects, description of MIB tables, and description of alarm objects.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
HUAWEI-TASK-MIB

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.

Relationship Between Tables

none.

Description of Single Objects

None.

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

Gauge32

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

Gauge32

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:

  • normalready: Task is ready.
  • block: Task is blocked.
  • sleep: Task is slept.
  • suspend: Task is suspended.
  • blockAndSuspend: Task is suspended blocked.
  • sleptAndSuspend: Task is slept and suspended.
  • running: Task is running.
  • queueblock: Task is blocked on receiving queue messages.
  • queueblockAndSuspend: Task is blocked on receiving queue messages and suspended.
  • semaphoreblock: Task is blocked on taking a semaphore.
  • semaphoreblockAandSuspend: Task is blocked on taking a semaphore and suspended.
  • eventblock: Task is blocked on receiving events.
  • eventblockAndSuspend: Task is blocked on receiving events and suspended.
  • prioblock: The task is preferentially blocked.
  • preemptready: Resources are preempted by the task.
  • writequeueblock: Task is blocked on sending queue messages.
  • writequeueblockAndSuspend: Task is blocked when sending queue messages and suspended.

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

Gauge32

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

Gauge32

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

Description of Alarm Objects

None.

Translation
Download
Updated: 2019-09-23

Document ID: EDOC1000178122

Views: 781616

Downloads: 36

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next