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).
create task_impact

create task_impact

Function

The create task_impact command is used to create a task impact level.

Format

create task_impact < name > < rules > [ description=? ]

Parameters

Parameter

Description

Value

name Impact level name.

The value is a combination letters, numbers, hyphens (-) and underscores(_), and is 1 to 127 characters in length.

rules Rules of the impact level.

The value is a character string that is 1 to 2048 characters in length in the following format: [{"period" : {"weekday":"2","startTime":"010000","endTime":"235900"}

,"occupation":[{"resouceType":"cpu","upperLimit":"3"}]}].

description Description of the impact level.

The value is a character string that is 1 to 255 characters in length.

Level

Administrator

Usage Guidelines

To self-define rules, you must enter character strings in special formats. At most 16 impact levels are created.

Example

Create a task impact.

admin:/>create task_impact impact001 [{"period":{"weekday":"1","startTime":"000000","endTime":"235959"},"occupation":[{"resouceType":"cpu","upperLimit":"1"}]}] description=my_task_impact
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25380

Downloads: 7

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