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).
drvist showsessonport

drvist showsessonport

Function

The drvist showsessonport command is used to show information about the session of a port.

Format

drvist showsessonport [portid] [offset]

Parameters

Parameter

Description

Value

portid ID of the virtual port (which needs to be converted to a decimal number.).

Virtual port ID in the decimal format.

offset Shows the offset of the number of session messages.

The value ranges from 0 to 31.

Views

Diagnostic view

Usage Guidelines

None

Example

Query information about the session of a port.

admin:/diagnose>drvist showsessonport ff120002 0
Show Session: Alloc[2]Free[1]Current leave[1] Outstandingr2t[0]
Show virtual Port[0xff120002]AttachedPort[0x20002]IP[10.47.81.90]Addr[00000000f6e539a0]
ISCSI Index[1][0000000002495183]TgtSess[00000000df91d3a5]PortId[0xff120002]Trans[1]Conn[00000000b918af62]
   Ini name[iqn.1996-04.de.suse:01:2d5373cb2fa4]
   Tgt name[iqn.2014-08.com.example:oceanstor:ffff200504030201::20002:10.47.81.90]
   ISID=0x000x020x3d0x690x000x00
   Peer[10.47.81.101/60433]Local[10.47.81.90/3260]
   TaskMg[0]
   conn cmd queue depth:[11]
   sock sndbuf empty cnt:[380820] on wake
   Block by sgl cnt:[0]
   Tx[0000000032f5757a] Tx name[ist_tx_1] Busy status[0] Qdepth[128]
   Conn use dynamic alloc unsolbuf num:[0]
   Conn use Prealloc unsolbuf num:[0]
   Conn use the greatest unsolbuf size:[4096]bytes
TCPinfo: RecvRtt[1000] Lost[0] Retrans[0] Total_retrans[192]
ISCSI trans conn[00000000844967f7] recv info:
   Ready [8539658] Done [8539943] Bytes [1730737344]

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Alloc

Number of sessions that have been created.

Free

Number of sessions that have been released.

Current leave

Number of sessions that are saved currently.

Outstandingr2t

Number of incomplete R2Ts.

virtual Port

ID of the virtual port.

AttachedPort

ID of the physical port that corresponds to the virtual port.

IP

IP address of the virtual port.

Addr

Memory address of the virtual port structure.

Index

Index.

TgtSess

Target session information.

PortId

ID of the virtual port.

Trans

Type of the transmission layer.

Ini name

Host initiator name.

Tgt name

Array target ID.

ISID

ISID value of iSCSI.

Peer

Peer IP address/port.

Local

Local IP address/port.

TaskMg

Count of managing tasks.

Conn cmd queue depth

Command queue depth.

sock sndbuf empty cnt

Count of collecting an empty message from the buffer of socket sending.

Block by sgl cnt

Count of failures in applying for the sgl resource.

Qdepth

Queue depth.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 751730

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next