distributed-system-analysis / pbench

A benchmarking and performance analysis framework
http://distributed-system-analysis.github.io/pbench/
GNU General Public License v3.0
186 stars 108 forks source link

Add interface channel definitions for ethtool #264

Open bmichalo opened 8 years ago

bmichalo commented 8 years ago

I'd like to add to the ethtool output of pbench the channel definitions per interface. Although this can indirectly be determined by the parsing the output of /proc/interrupts, I think this addition would be useful. Specifically the output of: ethtool -l Example: [root@perf84 perf84]# ethtool -l p2p1 Channel parameters for p2p1: Pre-set maximums: RX: 0 TX: 0 Other: 1 Combined: 63 Current hardware settings: RX: 0 TX: 0 Other: 1 Combined: 1

jeremyeder commented 8 years ago

I think this belongs in sosreport... https://github.com/sosreport/sos

root@bkr-hv01: /usr/lib/python2.7/site-packages/sos # grep -ri ethtool *
plugins/networking.py:                    "ethtool "+eth,
plugins/networking.py:                    "ethtool -i "+eth,
plugins/networking.py:                    "ethtool -k "+eth,
plugins/networking.py:                    "ethtool -S "+eth,
plugins/networking.py:                    "ethtool -T "+eth,
plugins/networking.py:                    "ethtool -a "+eth,
plugins/networking.py:                    "ethtool -c "+eth,
plugins/networking.py:                    "ethtool -g "+eth