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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 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).
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-12

Document ID: EDOC1000138389

Views: 489288

Downloads: 85

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