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

Command Reference

OceanStor 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI provided by the DeviceManager, this document describes how to use variouscommands classified by functions and how to set the CLI and manage the storage system throughthese 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).
change performance strategy

change performance strategy

Function

The change performance strategy command is used to configure the policies of collecting system performance statistics.

Format

change performance strategy [ interval=? ] [ archive_enabled=? ] [ archive_time=? ] [ auto_stop_enabled=? ] [ duration=? ]

Parameters

Parameter

Description

Value

interval=?

Interval between system performance statistics collections.

The value can be "5s", "10s", "30s", or "60s".

archive_enabled=?

Whether to enable the automatic archiving function.

The value can be:

  • "yes": to enable the automatic archiving function.
  • "no": not to enable the automatic archiving function.

archive_time=?

Archiving cycle.

The value can be "5s", "60s", "120s", "300s", "600s", "1800s", or "3600s".

auto_stop_enabled=?

Whether to enable the function of automatically stopping performance statistics collection.

The value can be:

  • "yes": to enable the function of automatically stopping performance statistics collection.
  • "no": not to enable the function of automatically stopping performance statistics collection.

duration=?

Maximum number of days to collect performance statistics.

NOTE:

When the "auto_stop_enabled=?" is set to "yes", this parameter is valid and must be specified.

The value is an integer between 1 and 31.

Level

Administrator

Usage Guidelines

  • This command is used to set the system performance statistics policy.
NOTE:

Before running this command, ensure that the performance statistics function has been disabled or the "change performance statistic_enabled enabled=no" command has been executed.

  • After the system performance statistics policy is configured, you must run the "change performance statistic_enabled enabled=yes" command before using the new performance statistics policy to collect performance data.

Example

Set the interval of collecting system performance statistics to "60s", enable the automatic archiving function, and set the maximum number of days to collect performance statistics to "1".

admin:/>change performance strategy interval=60s archive_enabled=yes archive_time=60s auto_stop_enabled=yes duration=1 
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138382

Views: 313048

Downloads: 38

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