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 msgstat

xnet msgstat

Function

The xnet msgstat command is used to query messages sent from an instance to a node.

Format

xnet msgstat -f [flags] -c [ctx_id] -n [dst_nid] -usermode

Parameters

Parameter

Description

Value

flags Start and end flags.

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

idx Instance number.

-

nid Peer node number.

-

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 statistics.

    admin:/diagnose>xnet msgstat -f 1 -app_data
    Set msg stat from 0->1.
  • Query messages sent from instance "3" to node "0".

    admin:/diagnose>xnet msgstat -c 3 -n 786432 -app_data
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    index     queue               send_msg        resend_msg      send_success    send_fail       recv_msg        
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    0         0xffff26f3f640      0               0               0               0               0               
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  • Stop collecting statistics.

    admin:/diagnose>xnet msgstat -f 0 -app_data
    Set msg stat from 1->0.

System Response

The following table describes the parameter meanings.

Parameter

Meaning

index

Index number.

queue

Queue pointer.

send_msg

Count of sent messages.

resend_msg

Count of resent messages.

send_success

Count of successfully sent messages.

send_fail

Count of messages that fail to be sent.

recv_msg

Count of received messages.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 763493

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next