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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
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] [ip] [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.

ip

IP address of the virtual port.

-

offset

Shows the offset of the number of session messages.

The value ranges from 0 to 3.

Views

Diagnostic view

Usage Guidelines

None

Example

Query information about the session of a port.

ibc_os_hs:/diagnose>drvist showsessonport 4278338304 10.47.66.133 0 
Show Session: Alloc[8]Free[5]Current leave[3] Outstandingr2t[0] 
Show virtual Port[0xff024300]AttachedPort[0x3020000]IP[10.47.66.133]Addr[ffff88011fe68618] 
ISCSI Index[7][ffffc9001b60e018]TgtSess[ffff8803fb7dc548]PortId[0xff024300]Trans[1] 
 Ini name[iqn.1991-05.com.microsoft:win-slvjiqhmj1p] 
 Tgt name[iqn.2006-08.com.huawei:oceanstor:2100845b12428453::3020000:10.47.66.133] 
 ISID=0x400x000x010x370x000x00 
 Peer[10.47.66.143/53710]Local[10.47.66.133/3260] 
 TaskMg[0] 
   conn cmd queue depth:[0] 
 sock sndbuf empty cnt:[565] on wake 
 Block by sgl cnt:[0] 
 Tx[ffff8801345c0558] Busy status[2] Qdepth[128] 
 Conn use dynamic alloc unsolbuf num:[0] 
 Conn use Prealloc unsolbuf num:[0] 
 Conn use the greatest unsolbuf size:[4096]bytes 
ibc_os_hs:/diagnose>

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 empty socket sending cache areas.

Block by sgl cnt

Count of failures in applying for the sgl resource.

Qdepth

Queue depth.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 669679

Downloads: 30

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next