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 showallconn

xnet showallconn

Function

The xnet showallconn command is used to query all connections.

Format

xnet showallconn -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 connections.

admin:/diagnose>xnet showallconn -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ctx   type    conn            dst_nid             point   state   ref 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2     client  0xfffe880400c0  0xc0000             2305    ACTIVE  0   
3     client  0xfffe817120c0  0xc0000             2305    ACTIVE  0   
3     client  0xfffe81713280  0xc0000             2306    ACTIVE  0   
3     client  0xfffe81714480  0xc0000             2307    ACTIVE  0   
3     client  0xfffe81715640  0xc0000             2308    ACTIVE  0   
3     client  0xfffe81716800  0xc0000             2309    ACTIVE  0   
3     client  0xfffe817179c0  0xc0000             2310    ACTIVE  0   
3     client  0xfffe81718b80  0xc0000             2311    ACTIVE  0   
3     client  0xfffe81719d40  0xc0000             2312    ACTIVE  0   
1     client  0xfffea67ef0c0  0x150001            1       ACTIVE  0   
1     listen  0xfffea67f0100  0xc0001             1       NEW     0   
1     server  0xfffea67f1140  0x150001            2305    ACTIVE  0   
3     listen  0xfffe8171af00  0xc0001             3       NEW     0   
2     listen  0xfffe88041100  0xc0001             1       NEW     0   
2     server  0xfffe88042140  0xc0000             1       ACTIVE  0   
3     listen  0xfffe8171c0c0  0xc0001             1       NEW     0   
3     server  0xfffe8171d2c0  0xc0000             2       ACTIVE  0   
3     server  0xfffe8171e480  0xc0000             1       ACTIVE  0   
3     listen  0xfffe8171f640  0xc0001             4       NEW     0   
3     server  0xfffe81720800  0xc0000             6       ACTIVE  0   
3     server  0xfffe817219c0  0xc0000             5       ACTIVE  0   
3     server  0xfffe81722b80  0xc0000             7       ACTIVE  0   
3     server  0xfffe81723d40  0xc0000             8       ACTIVE  0   
3     listen  0xfffe81724f00  0xc0001             2       NEW     0   
3     server  0xfffe81726100  0xc0000             3       ACTIVE  0   
3     server  0xfffe817272c0  0xc0000             4       ACTIVE  0   
2     client  0xfffe88043180  0xc0000             2306    ACTIVE  0   
2     listen  0xfffe880441c0  0xc0001             2       NEW     0   
2     server  0xfffe88045200  0xc0000             2       ACTIVE  0   
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

ctx

Instance number.

type

Connection service type.

conn

Connection pointer.

dst_nid

Destination node number.

point

Unique ID of a connection.

state

Connection status.

ref

Count of references.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 765835

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next