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 showqueueproconn

xnet showqueueproconn

Function

The xnet showqueueproconn command is used to query information about connections of a specified protocol in a specified queue.

Format

xnet showqueueproconn -q [queue] -p [tcpip|roce] -usermode

Parameters

Parameter

Description

Value

queue Queue pointer.

-

tcpip|roce Protocol type.

-

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 RoCE connections in a specified queue.

    admin:/diagnose>xnet showqueueproconn -q 0xffff33a5f4e0 -p roce -app_data
    ---------------------------------------------------------------------------------------------------------
    queue               type      protocol  src_nid             dst_nid             net_point status              conn_cnt  ref       used_ms   uri                 
    ---------------------------------------------------------------------------------------------------------
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2305      ACTIVE              1         0         19944     roce://10.216.1.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2306      ACTIVE              1         0         19948     roce://10.216.1.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2307      ACTIVE              1         0         29944     roce://10.216.2.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2308      ACTIVE              1         0         29944     roce://10.216.2.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2309      ACTIVE              1         0         27084     roce://10.216.3.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2310      ACTIVE              1         0         27084     roce://10.216.3.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2311      ACTIVE              1         0         24952     roce://10.216.4.1:7000
            0xffff33a5f4e0      client    roce      0xc0001             0xc0000             2312      ACTIVE              1         0         24952     roce://10.216.4.1:7000
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             2         ACTIVE              1         0         0         roce://10.216.1.1:34833
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             1         ACTIVE              1         0         0         roce://10.216.1.1:46809
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             6         ACTIVE              1         0         4         roce://10.216.3.1:43485
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             5         ACTIVE              1         0         4         roce://10.216.3.1:43953
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             7         ACTIVE              1         0         4         roce://10.216.4.1:36397
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             8         ACTIVE              1         0         0         roce://10.216.4.1:41469
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             3         ACTIVE              1         0         0         roce://10.216.2.1:40977
            0xffff33a5f4e0      server    roce      0xc0001             0xc0000             4         ACTIVE              1         0         0         roce://10.216.2.1:41327
  • Query information about TCP/IP connections in a specified queue.

    admin:/diagnose>xnet showqueueproconn -q 0xffff33a5f4e0 -p tcpip -app_data         
    ---------------------------------------------------------------------------------------------------------
    queue               type      protocol  src_nid             dst_nid             net_point status              conn_cnt  ref       used_ms   uri                 
    ---------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

queue

Queue pointer.

type

Connection service type.

protocol

Protocol type.

src_nid

Source node.

dst_nid

Destination node.

net_point

Unique ID of a connection.

status

Connection status.

conn_cnt

Count of reconnection times.

ref

Count of references.

used_ms

Connection setup time.

uri

IP address and port number.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 756836

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next