Collecting data using QETH statistics

You can use the qeth_perf function to collect performance statistics for a specific QETH device.

Procedure

To collect diagnostic data using QETH statistics:

  1. Start collecting QETH statistics with the following command:
    # echo 1 > /sys/bus/ccwgroup/drivers/qeth/<device-bus-id>/performance_stats 
  2. Stop collecting QDIO statistics with the following command:
    # echo 0 > /sys/bus/ccwgroup/drivers/qeth/<device-bus-id>/performance_stats
  3. To display QDIO performance statistics:
    • For SLES10 and RHEL5 or earlier distributions:
      # cat /proc/qeth_perf
    • For later distributions:
      ethtool -S <device node>