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. |