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

OceanStor 9000 V5 7.0 Command Reference 03

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).
show task_policy general

show task_policy general

Function

The show task_policy general command is used to query task policies.

Format

show task_policy general [ policy_id=? ]

Parameters

Parameter

Description

Value

policy_id Policy ID.

The value consists of 1 to 127 characters including letters, numbers, underscores (_), and periods (.).

Level

Read-only user

Usage Guidelines

  • Run the show task_policy general [ policy_id=? ] command to query information about a specified task policy.
  • Run the show task_policy general command to query information about all task policies in the system.
  • Read-only users can also run this command to view information.

Example

  • Batch query task policies.

    admin:/>show task_policy general
     
      policy_id           : 100
      policy_name         : data_migration
      description         : hello
      taskType            : 100
      jobPriority         : 30
      jobImpact           : 1
      dispatchType        : 2
      scheduleDisptchTime :
      dispatchTime        : 10
      jobAttribute        : 383
      jobInput            : 1234567890
      taskParallelism     : 100
      jobParallelism      : 10
    ------------------------------------------
      policy_id           : 101
      policy_name         : data_scrub
      description         : hello
  • Batch query a single task policie.

    admin:/>show task_policy general policy_id=101
     
      policy_id           : 101
      policy_name         : data_scrub
      description         : hello
      taskType            : 101
      jobPriority         : 90
      jobImpact           : 3
      dispatchType        : 0
      scheduleDisptchTime :
      dispatchTime        : 0
      jobAttribute        : 383
      jobInput            : 1234567890
      taskParallelism     : 100
      jobParallelism      : 10

System Response

The following table describes the parameter meanings.

Parameter

Meaning

policy_id

Policy ID.

policy_name

Policy name.

description

Policy description.

taskType

Task type.

jobPriority

Priority.

jobImpact

Impact level.

dispatchType

Dispatch type.The value is "0", "1", or "2", where:

"0": one-time tasks.

"1": periodic takes that are dispatched at specific time of a day.

"2": periodic tasks that are dispatched with a fixed interval.

scheduleDisptchTime

Dispatch period. This parameter is valid only when "dispatchType" is set to "1".

dispatchTime

Dispath frequency or delay time. This parameter is valid only when "dispatchType" is set to "0" or "2".

jobAttribute

Task attributes. The value ranges from 0 to 31. From the right to left, the first digit of the binary number indicate whether the task can be cancelled (stopped), the second one indicates whether the task can be suspended, the third one indicates whether the task can be edited (modified), and the fifth one indicates whether task can be immediately scheduled. 1 indicates indicate that the operation can be performed, whereas 0 indicates that the operation cannot.

The value determines the icons for task execution and immediate execution of policies on the WebUI.

jobInput

Task input parameter. The value is dependent on the specific task.

taskParallelism

Degree of parallelism, indicating how many tasks are parallel running.

jobParallelism

Number of tasks that can be executed concurrently.

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25356

Downloads: 7

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