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 showconn -c -n

xnet showconn -c -n

Function

The xnet showconn -c -n command is used to query information about connections between an instance and a node.

Format

xnet showconn -n [nid] -c [ctx idx] -usermode

Parameters

Parameter

Description

Value

nid Peer node number.

-

ctx idx Instance 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

Query information about connections between instance "3" and node "0".

admin:/diagnose>xnet showconn -c 3 -n 786432 -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
queue type    src_nid             dst_nid             point   status  peer_pv           ccnt ref used_ms  cpu    (Q)down  conn            conn_type uri                      
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0     server  0xc0001             0xc0000             4       ACTIVE  0x0               1    0   0        0:0    0        0xfffe817272c0  L         roce://10.216.2.1:41327
0     server  0xc0001             0xc0000             3       ACTIVE  0x0               1    0   0        0:0    0        0xfffe81726100  L         roce://10.216.2.1:40977
0     server  0xc0001             0xc0000             8       ACTIVE  0x0               1    0   0        0:0    0        0xfffe81723d40  L         roce://10.216.4.1:41469
0     server  0xc0001             0xc0000             7       ACTIVE  0x0               1    0   4        0:0    0        0xfffe81722b80  L         roce://10.216.4.1:36397
0     server  0xc0001             0xc0000             5       ACTIVE  0x0               1    0   4        0:0    0        0xfffe817219c0  L         roce://10.216.3.1:43953
0     server  0xc0001             0xc0000             6       ACTIVE  0x0               1    0   4        0:0    0        0xfffe81720800  L         roce://10.216.3.1:43485
0     server  0xc0001             0xc0000             1       ACTIVE  0x0               1    0   0        0:0    0        0xfffe8171e480  L         roce://10.216.1.1:46809
0     server  0xc0001             0xc0000             2       ACTIVE  0x0               1    0   0        0:0    0        0xfffe8171d2c0  L         roce://10.216.1.1:34833
0     client  0xc0001             0xc0000             2312    ACTIVE  0x0               1    0   24952    0:0    0        0xfffe81719d40  L         roce://10.216.4.1:7000
0     client  0xc0001             0xc0000             2311    ACTIVE  0x0               1    0   24952    0:0    0        0xfffe81718b80  L         roce://10.216.4.1:7000
0     client  0xc0001             0xc0000             2310    ACTIVE  0x0               1    0   27084    0:0    0        0xfffe817179c0  L         roce://10.216.3.1:7000
0     client  0xc0001             0xc0000             2309    ACTIVE  0x0               1    0   27084    0:0    0        0xfffe81716800  L         roce://10.216.3.1:7000
0     client  0xc0001             0xc0000             2308    ACTIVE  0x0               1    0   29944    0:0    0        0xfffe81715640  L         roce://10.216.2.1:7000
0     client  0xc0001             0xc0000             2307    ACTIVE  0x0               1    0   29944    0:0    0        0xfffe81714480  L         roce://10.216.2.1:7000
0     client  0xc0001             0xc0000             2306    ACTIVE  0x0               1    0   19948    0:0    0        0xfffe81713280  L         roce://10.216.1.1:7000
0     client  0xc0001             0xc0000             2305    ACTIVE  0x0               1    0   19944    0:0    0        0xfffe817120c0  L         roce://10.216.1.1:7000
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

queue

Queue index number.

type

Connection service type.

src_nid

Source node.

dst_nid

Destination node.

point

Unique ID of a connection.

status

Connection status.

peer_pv

Version of the peer process.

ccnt

Count of reconnection times.

ref

Count of references.

used_ms

Connection setup time.

cpu

Pinned CPU core number.

(Q)down

Times when queues are down.

conn

Connection pointer.

conn_type

Connection type.

uri

IP address and port number.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 750366

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next