Displaying and resetting QETH performance statistics

Red Hat Enterprise Linux 9.2 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

Red Hat® Enterprise Linux® 9.2 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.
    For example:
    # chzdev -a <device_bus_id> performance_stats=1 
    or, using sysfs:
    echo 1 > /sys/bus/ccwgroup/drivers/qeth/<device_bus_id>/performance_stats