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

Advanced O&M Command Reference

OceanStor 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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).
settaskswitch.sh

settaskswitch.sh

Function

The settaskswitch.sh command is used to set isolation policies for background tasks of a system.

Format

settaskswitch.sh -a | -d -n name -s switch

Parameters

Parameter

Description

Value

-a

Adds a policy.

-

-d

Deletes a policy.

-

-n name

Specifies the name of a background task.

-

-s switch

Specifies the task switch.

The value can be 0 or 1.

Modes

Minisystem mode

Usage Guidelines

After this script is executed, the background task to be isolated determines whether to reset the device.

For example, to isolate a background copy task, run "settaskswitch.sh-a -n TASK_RSSIO_BGR -s 1". Reset the device after the script is successfully executed. Then the background task is automatically isolated after the device is powered on.

To disable the isolation of a background task, run "settaskswitch.sh -d -n TASK_RSSIO_BGR -s 1" and reset the device for the setting to take effect.

Example

  • Add a background copy task isolation policy.
    Storage: minisystem> settaskswitch.sh -a -n TASK_RSSIO_BGR -s 1 
    Add TASK_RSSIO_BGR=1 success.
  • Delete a background copy task isolation policy.
    Storage: minisystem> settaskswitch.sh -d -n TASK_RSSIO_BGR -s 1 
    Delete TASK_RSSIO_BGR=1 success.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 612827

Downloads: 695

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