subscribe iconSubscribe to this information

fcstat command

Purpose

Displays the statistics gathered by the specified fibre channel device driver.

Syntax

To display statistics gathered by the specified fibre channel device driver:

fcstat -Device_Name

Description

The fcstat command displays the statistics gathered by the specified fibre channel device driver. It collects the statistics using the following process:
  1. Opens the message catalog of fcstat and checks the parameter list.
  2. Accesses the ODM database for information that relates to the selected adapter.
  3. Accesses the ODM database for information that relates to ports of the selected adapter.
  4. Opens and accesses adapter statistics.
  5. Reports statistics and exits.

Flags

Device_Name The name of the fibre channel device, for example, fcs0.

Exit Status

The following exit values are returned:
0 Successful completion.
>0 An error occurred.

Examples

To display the statistics for fibre channel device driver fcs0, enter:
fcstat fcs0
Output similar to the following is displayed.
Note: The output format of various AIX® commands is not always static. Do not write programs with the expectation that the output for the fcstat command will remain as follows.
FIBRE CHANNEL STATISTICS REPORT: fcs0

    Device Type: FC Adapter (df1000f9)
    Serial Number: 1E313BB001
    Option ROM Version: 02C82115
    Firmware Version: B1F2.10A5
    Node WWN: 20000000C9487B04
    Port WWN: 10000000C9416DA4
FC4 Types 
      Supported: 0x0000010000000000000000000000000000000000000000000000000000000000
      Active:    0x0000010000000000000000000000000000000000000000000000000000000000
    Class of Service: 4
    Port FC ID: 011400
    Port Speed (supported): 2 GBIT
    Port Speed (running):   1 GBIT
    Port Type: Fabric
Seconds Since Last Reset: 345422

    Transmit Statistics    Receive Statistics
    -------------------    ------------------
    Frames: 1              Frames: 1
    Words: 1               Words: 1

    LIP Count: 1
    NOS Count: 1
    Error Frames:  1
    Dumped Frames: 1
    Link Failure Count: 1
    Loss of Sync Count: 1
    Loss of Signal: 1
    Primitive Seq Protocol Err Count: 1
    Invalid Tx Word Count: 1
    Invalid CRC Count: 1
IP over FC Adapter Driver Information
      No DMA Resource Count: 0               
      No Adapter Elements Count: 0               

    FC SCSI Adapter Driver Information
      No DMA Resource Count: 0               
      No Adapter Elements Count: 0               
      No Command Resource Count: 0               

    IP over FC Traffic Statistics
      Input Requests:   0               
      Output Requests:  0               
      Control Requests: 0               
      Input Bytes:  0               
      Output Bytes: 0               

    FC SCSI Traffic Statistics
      Input Requests:   16289           
      Output Requests:  48930           
      Control Requests: 11791           
      Input Bytes:  128349517       
      Output Bytes: 209883136

Send feedback | Rate this page

Last updated: Fri, Oct 30, 2009