AIX

 View Only

Display time-series report of traffic statistics with ‘fcstat’ command in AIX / VIOS

By Vinayak Karne posted 15 days ago

  

Contributors : -  Vinayak Prasad Karne,  Srikanth Merugu.

Introduction

The fcstat command displays statistics that are gathered by the specified Fibre Channel device driver. It displays both device-specific and  device-generic statistics. If no flags are mentioned, the fcstat command displays only the device-generic statistics.


What’s New

The fcstat command is enhanced to generate a time-series report of traffic statistics continuously using new flag “-t”. This capability is introduced in fcstat from below AIX and VIOS levels.

·      AIX  - 7300-01

·      VIOS - 4.1.0.0


Time series data collection using fcstat


The fcstat command to generate a time-series report of traffic statistics can be invoked by using the following syntax.


Syntax :  fcstat
-t Interval [ -p Protocol ] Device_Name

·    The time interval in seconds between each report can be specified using -t flag. If one specifies zero as the value of the Interval parameter, the fcstat command creates a single report.

·    In each report, traffic statistics for a single transport protocol (TP) is printed in a row. If the adapter supports many transport protocols, statistics for each protocol is printed in separate rows.  To generate the time-series report for only a specific transport protocol, use the Protocol parameter of the -p flag to specify the transport protocol.



Sample fcstat output with timeseries data


A sample fcstat output that display’s time series report of traffic statistics with two seconds interval for device fcs2 is given below.


Data displayed in each column of above fcstat output is explained below.

  • TP : Transport Protocol.
  •  Read Reqs(K): The number of read or input requests, in thousands.
  •  Write Reqs(K): The number of write or output requests, in thousands.
  •  Read(GB): The number of input bytes that are read, in gigabytes.
  •  Write(GB): The number of output bytes that are written, in gigabytes.

                                                   End of the document

0 comments
14 views

Permalink