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 showallctx

xnet showallctx

Function

The xnet showallctx command is used to query all XNET instances.

Format

xnet showallctx -usermode

Parameters

Parameter

Description

Value

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

Query all XNET instances on the current node.

admin:/diagnose>xnet showallctx -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
context             index       nid                 ref         ctx_type    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0xffff3234d430      0           0xc0001             2           0x1           
0xffff3234cea0      1           0xc0001             4           0x2           
0xffff3234c910      2           0xc0001             5           0x2           
0xffff3234c380      3           0xc0001             7           0x1           
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

context

Instance pointer.

index

Instance number.

nid

Local node number.

ref

Count of references.

ctx_type

Instance type.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 764331

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next