Table of ContentsLibraryView in Frames

Displaying iSCSI statistics

Use the iscsi stats command to display important iSCSI statistics.

Step

  1. On the storage system console, enter the following command: iscsi stats [-a | -z | ipv4 | ipv6]

    -a displays the combined IPv4 and IPv6 statistics followed by the individual statistics for IPv4 and IPv6.

    -z resets the iSCSI statistics.

    ipv4 displays only the IPv4 statistics.

    ipv6 displays only the IPv6 statistics.

    Entering the iscsi stats command without any options displays only the combined IPv4 and IPv6 statistics.

system1> iscsi stats -a

iSCSI stats(total)
iSCSI PDUs Received
  SCSI-Cmd:    1465619   | Nop-Out:            4  | SCSI TaskMgtCmd:          0
  LoginReq:          6   | LogoutReq:          1  | Text Req:                 1
  DataOut:           0   | SNACK:              0  | Unknown:                  0
  Total: 1465631
iSCSI PDUs Transmitted
  SCSI-Rsp:     733684   | Nop-In:             4  | SCSI TaskMgtRsp:          0
  LoginRsp:          6   | LogoutRsp:          1  | TextRsp:                  1
  Data_In:      790518   | R2T:                0  | Asyncmsg:                 0
  Reject:            0
  Total: 1524214
iSCSI CDBs
  DataIn Blocks:     5855367  | DataOut Blocks:          0
  Error Status:            1  | Success Status:    1465618
  Total CDBs: 1465619
iSCSI ERRORS
  Failed Logins:           0  | Failed TaskMgt:          0
  Failed Logouts:          0  | Failed TextCmd:          0
  Protocol:                0
  Digest:                  0
  PDU discards (outside CmdSN window): 0
  PDU discards (invalid header):       0
  Total: 0

iSCSI Stats(ipv4)
iSCSI PDUs Received
  SCSI-Cmd:     732789   | Nop-Out:            1  | SCSI TaskMgtCmd:          0
  LoginReq:          2   | LogoutReq:          0  | Text Req:                 0
  DataOut:           0   | SNACK:              0  | Unknown:                  0
  Total: 732792
iSCSI PDUs Transmitted
  SCSI-Rsp:     366488   | Nop-In:             1  | SCSI TaskMgtRsp:          0
  LoginRsp:          2   | LogoutRsp:          0  | TextRsp:                  0
  Data_In:      395558   | R2T:                0  | Asyncmsg:                 0
  Reject:            0
  Total: 762049
iSCSI CDBs
  DataIn Blocks:     2930408  | DataOut Blocks:          0
  Error Status:            0  | Success Status:     732789
  Total CDBs: 732789
iSCSI ERRORS
  Failed Logins:           0  | Failed TaskMgt:          0
  Failed Logouts:          0  | Failed TextCmd:          0
  Protocol:                0
  Digest:                  0
  PDU discards (outside CmdSN window): 0
  PDU discards (invalid header):       0
  Total: 0

iSCSI Stats(ipv6)
iSCSI PDUs Received
  SCSI-Cmd:     732830   | Nop-Out:            3  | SCSI TaskMgtCmd:          0
  LoginReq:          4   | LogoutReq:          1  | Text Req:                 1
  DataOut:           0   | SNACK:              0  | Unknown:                  0
  Total: 732839
iSCSI PDUs Transmitted
  SCSI-Rsp:     367196   | Nop-In:             3  | SCSI TaskMgtRsp:          0
  LoginRsp:          4   | LogoutRsp:          1  | TextRsp:                  1
  Data_In:      394960   | R2T:                0  | Asyncmsg:                 0
  Reject:            0
  Total: 762165
iSCSI CDBs
  DataIn Blocks:     2924959  | DataOut Blocks:          0
  Error Status:            1  | Success Status:     732829
  Total CDBs: 732830
iSCSI ERRORS
  Failed Logins:           0  | Failed TaskMgt:          0
  Failed Logouts:          0  | Failed TextCmd:          0
  Protocol:                0
  Digest:                  0
  PDU discards (outside CmdSN window): 0
  PDU discards (invalid header):       0
  Total: 0