Displaying and resetting QETH performance statistics

6.10 LPAR mode z/VM guest

Use the ethtool to display the QETH performance statistics and the performance_stats sysfs attribute to reset the statistic values.

About this task

Linux® on IBM® Z continuously gathers QETH performance data.

Procedure

  1. Use the ethtool command to display the statistics. For details, see the ethtool man page.
  2. Optional: Reset the statistic values to 0 by writing 1 to the performance_stats sysfs attribute of the QETH device.
    # echo 1 > /sys/bus/ccwgroup/drivers/qeth/<device_bus_id>/performance_stats