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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
xnet iopsstat

xnet iopsstat

Function

The xnet iopsstat command is used to query IOPS on the current instance.

Format

xnet iopsstat -f / -s -usermode

Parameters

Parameter

Description

Value

-f Starts or stops collecting statistics.

The value can be "0" or "1", where "0" indicates an end and "1" indicates a start.

-s Displays statistics.

-

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • "-app_data": executes the command for the app_data process.
  • "-devm": executes the command for the devm process.
  • "-sys_app": executes the command for the sys_app process.
  • "-cfg_app": executes the command for the cfg_app process.

Views

Diagnostic view

Usage Guidelines

OceanStor 18500 V5 Kunpeng, 18500F V5 Kunpeng, 18800 V5 Kunpeng and 18800F V5 Kunpeng storage systems support this command.

Example

  • Start collecting IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat  -f 1 -app_data
  • Show the IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat  -s -app_data
    -----------------------------------------------------------------------------------------------------------------------------------
    dst_nid     send                success     fail        iops        max_delay         min_delay         av_delay          <16k        <32k        <64k        >64         
    -----------------------------------------------------------------------------------------------------------------------------------
  • Stop collecting IOPS statistics of the current instance.

    admin:/diagnose>xnet iopsstat  -f 0 -app_data

System Response

The following table describes the parameter meanings.

Parameter

Meaning

dst_nid

Destination node number.

send

Count of sent I/Os.

success

Count of successfully sent I/Os.

fail

Count of I/Os that fail to be sent.

iops

Count of I/Os sent per second.

max_delay

Maximum latency.

min_delay

Minimum latency.

av_delay

Average latency.

<16k

Count of messages whose size is smaller than 16 KB.

<32k

Count of messages whose size is smaller than 32 KB.

<64k

Count of messages whose size is smaller than 64 KB.

>64

Count of messages whose size is greater than 64 KB.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 756770

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next