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 showqueue

xnet showqueue

Function

The xnet showqueue command is used to query information about queues from a specified instance to a specified node.

Format

xnet showqueue -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 queues from instance "3" to node "0".

admin:/diagnose>xnet showqueue -c 3 -n 786433 -app_data
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
index     queue               ref       up      down    quota(c)  quota(s)  peer_qid  state polling 
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0         0xffff47f39640      7         1       0       124       126       0         1     4       
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

System Response

The following table describes the parameter meanings.

Parameter

Meaning

index

Index number.

queue

Queue pointer.

ref

Count of references.

up

Times when queues are up.

down

Times when queues are down.

quota(c)

Count of remaining connections that can be set up on the client.

quota(s)

Count of remaining connections that can be set up on the server.

peer_qid

Peer queue number.

state

Queue status.

polling

Number of connections of a queue.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 765852

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next