- Data ONTAP
- Data ONTAP 8.1 7- Mode
- Data ONTAP 8.2 7-Mode
- Data ONTAP 7 and earlier
What is the information reported by the fcp stats command?
Statistics for FCP target ports on the storage controller can be viewed using the
fcp stats command. These statistics are accumulated since the last controller reboot or the last time the stats were cleared. These stats are cleared using the
fcp stats -z command, except
Initiators Connected which is not cleared.
storage1> fcp stats 0c
Statistics for adapter 0c
Read Ops: 11312852
Write Ops: 11009873
Other Ops: 9552749
KBytes In: 326213053
KBytes Out: 323309684
Adapter Resets: 0
Frame Overruns: 0
Frame Underruns: 0
Initiators Connected: 22
Link Breaks: 1
Virtual Link Breaks: 0
FCF Ad Timeouts: 0
LIP Resets: 0
SCSI Requests Dropped: 0
Spurious Interrupts: 430547
Total Logins: 139
Total Logouts: 123
CRC Errors: 8
Adapter Qfulls: 0
Protocol Errors: 0
Invalid Transmit Words: 0
LR Sent: 0
LR Received: 0
Discarded Frames: 0
NOS Received: 3
OLS Received: 0
Queue Depth: 4
SCSI Qfulls sent 0
Shared Interrupts: 0
Polled Interrupts: 1916006
Polled Ints Preempted: 0
Polled Ints Lost: 276814
Polled Ints Yielded: 0
Hung Commands: 5
ATIO No Handle: 0
ABTS No Handle: 0
ABTS No Handle (SID): 0
DISC No Handle: 0
AEN Recv Error: 0
CTIO Unexpected RXID: 0
CTIO Term Except: 0
Statistics for SFP on 0c
Vendor Name: FINISAR CORP.
Vendor OUI: 0:144:101
Vendor PN: FTLF8528P3BNV-N1
Vendor Rev: A
Serial No: ABC1XYZ
Date Code: 12:13:4
Media Form: SFP
Wavelength: 850 (nm)
FC Speed Capabilities: 2, 4, 8 Gbit/Sec
SFP RX Optical Power: 483.3 (uWatts)
SFP TX Optical Power: 469.0 (uWatts)
Read Ops: The number of SCSI read operations processed by the adapter.
Write Ops: The number of SCSI write operations processed by the adapter.
Other Ops: The number of other SCSI operations (not reads or writes) processed by the adapter.
KBytes In: The count of KiloBytes of data that has been received by the adapter.
Kbytes Out: The count of KiloBytes of data that has been sent by the adapter.
Adapter Resets: The number of times that the adapter has been reset. A high count here could indicate trouble with the SFP or the link, but further investigation would be needed to confirm if there is a problem.
Frame Overruns: The number of overrun events on the adapter.
Frame Underruns: The number of underrun events on the adapter.
Initiators Connected: The total number of initiators connected to this adapter.
Link Breaks: The number of times that the link has disconnected.
Virtual Link Breaks: The number of times that the virtual adapter link has disconnected in FCoE environments.
FCF Ad Timeouts: The number of times that the virtual adapter has sent FCF Advertisements without receiving a response in an acceptable amount of time. These advertisements are used in FCoE environments to discover FCoE switches.
LIP Resets: The number of times that the adapter has received a LIP reset request. Only applicable to loop configurations.
SCSI Requests Dropped: The number of SCSI requests that were dropped by the adapter.
Interrupts: The number of interrupts generated by the adapter. Interrupts are used in the processing and completion of commands. It is normal to see a high number of interrupts.
Spurious Interrupts: The number of spurious interrupts generated by the adapter. Spurious interrupts are generated when the adapter is not busy (has no work to do). It is normal to see a high number of spurious interrupts.
Total Logins: The number of times an initiator connection was added to this adapter.
Total Logouts: The number of times an initiator connection was removed from this adapter.
CRC Errors: The number of frames received that failed the Cyclic Redundancy Check. This occurs when the frame has been damaged while being sent to the adapter. A high count of CRC errors suggests a physical problem on the link (bad cable, SFP, or patch panel).
Adapter Qfulls: The number of SCSI queue full responses generated by the adapter. A high count may indicate a problem with the queue depth configuration. For more information, see the SAN Configuration Guide.
Protocol Errors: The number of protocol errors that have occurred on the adapter.
Invalid Transmit Words: The number of invalid transmit words on the adapter. For more information see KB What do "invalid words" errors mean and how are they resolved?
LR Sent: The number of link reset primitives sent.
LR Received: The number of link reset primitives received.
Discarded Frames: The number of received frames that were discarded.
NOS Received: The number of Not Operational Sequence primitives received by the adapter. These primitives are sent when there are problems on the link.
OLS Received: The number of Offline Sequence primitives received. These are sent in response to a NOS primitive received. This is the received count, so it would be responses to NOS primitives sent by the adapter.
Queue Depth: The queue depth on the target adapter.
SCSI Qfulls sent: The number of SCSI Qfull responses sent by this adapter. A high count may indicate that initiator queue depth configuration or fan-in ratio needs to be adjusted. See the SAN Configuration Guide for more information on calculating queue depth.
Shared Interrupts: The number of shared interrupts generated by the adapter.
Polled Interrupts: The number of polled interrupts on the adapter.
Polled Ints Preempted: The number of polled interrupts preempted.
Polled Ints Lost: The number of polled interrupts lost.
Polled Ints Yielded: The number of polled interrupts yielded.
Hung Commands: The number of hung commands reported by the adapter.
AEN Recv Error: The number of Asynchronous Event Notifications received from the fabric. These errors can also be seen in EMS logs on the controller. For more information, see KB EMS message 'fcp.io.status: AEN 0x8048 (RECV_ERROR)' frequently occurring
fcp stats will also report information about the SFPs in the adapter.
Vendor Name: The name of the vendor for the SFP.
Vendor OUI: The vendor's Organizationally Unique Identifier number.
Vendor PN: The part number for the SFP.
Vendor Rev: The revision number for the SFP.
Serial No: The serial number for the SFP.
Date Code: The date code for the SFP.
Media Form: The media form factor of the SFP.
Connector: The connector type for the SFP.
Wavelength: The light wavelength used by the SFP.
Encoding: The encoding scheme used by the SFP.
FC Speed Capabilities: The connection speed supported by the SFP. For FCP, this will report supported FCP speeds (2, 4, 8, 16, 32, etc.). SFPs used for FCoE in CNA cards support Ethernet link speeds (such as 10 Gbit/Sec).
SFP RX Optical Power: The optical power received by the SFP. For more information on expected optical power, see KB What should the RX light power of an SFP be?
SFP TX Optical Power: The optical power transmitted by the SFP. For more information on expected optical power, see KB What should the RX light power of an SFP be?