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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. 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.
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).
os_change_tp.sh

os_change_tp.sh

Function

The os_change_tp.sh command is used to modify the TracePoint configuration file.

Format

os_change_tp.sh { -a | -d } -f func -t type -i alive -p param

Parameters

Parameter

Description

Value

-a | -d

To add or delete TracePoint configurations.

The value is -a or -d:

  • -a: to add TracePoint configurations.
  • -d: to delete TracePoint configurations.

-f func

TracePoint registering name.

-

-t type

TracePoint activation type.

The value is callback, reset, or pause.

  • callback: After TracePoint is activated, the registered callback function is invoked.
  • reset: After TracePoint is activated, the system resets.
  • pause: After TracePoint is activated, the process suspends at TracePoint.

-i alive

Number of times that TracePoint is executed after being activated.

The value is an integer between 0 and 9.

-p param

User parameter.

-

Modes

Minisystem mode

Usage Guidelines

If you need to activate a failed point when you are powering on the device or when the automation test is in progress, you need to activate it through the configuration file. Note that the TracePoint in the configuration file must be realized.

Example

To modify the TracePoint configuration file, run the following command.

Storage: minisystem> os_change_tp.sh -a -f CR_DCL_2_203_2 -t callback -i 0 -p aaaaa

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 583335

Downloads: 233

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