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 04

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

change task_impact

Function

The change task_impact command is used to modify the parameters of a self-defined impact level.

Format

change task_impact < task_impact_id > [ description=? ] [ name=? ] [ rules=? ]

Parameters

Parameter

Description

Value

task_impact_id Impact level ID.

The value is an integer between "1" and "16".

name Impact level name.

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

description Impact description.

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

rules Impact rules.

"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":"90"}]}].".

Level

Administrator

Usage Guidelines

The three impact levels that were generated by the system (task_impact_id is 1, 2, and 3) cannot be modified.

Example

Modify the parameters of a self-defined impact level.

admin:/>change task_impact 4 name=test description=test rules=[{"period":{"weekday":"1","startTime":"000000","endTime":"235959"},"occupation":[{"resouceType":"cpu","upperLimit":"30"}]}]
WARNING: You are about to modify this system impact level.
Have you read warning message carefully?(y/n)y
 
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Download
Updated: 2019-07-25

Document ID: EDOC1100067955

Views: 27556

Downloads: 7

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