Open jeditransistor opened 1 month ago
Thank you for opening this RFE! Some notes:
"ethtool --show-eee %(dev)s",
In the networking.py plugin, so I imagine that that one doesn't need any modification.
The last two commands are straightforward to add - we only capture ss -peaonmi
at the moment and netstat -s
. I'll start with these while we get clarification on the ethtool ones.
The commands (with expected device names, I guess):
ethtool --show-fec %(dev)
ethtool --show-ntuple %(dev)
ethtool --show-coalesce %(dev)
they 1) provide some additional information not already collected by other commands? 2) do not load a kernel module for their execution, and they dont start a service? 3) they can't get stuck their own execution neither get stuck some networking devices under some specific situations (cf. e.g. https://github.com/sosreport/sos/blob/main/sos/report/plugins/networking.py#L188-L195)?
I am the one that have asked this enhancement through RedHat. 1/ You do not need to add: ethtool --show-coalesce %(dev) This is already collected through ethtool -c %(dev) This request was for supportconfig (SLES) 2/ Yes you are right you need to provides interface name '%(dev)' 3/ Yes, "ethtool --show-fec" - applies to ethernet devices
NIC related FEC: $ ethtool --show-fec
EEE:
$ ethtool --show-eee
ntuple-filters / Flow director:
// Can also use -u
$ ethtool --show-ntuple
For supportconfig ONLY: $ ethtool --show-coalesce
XPORT Socket statistics: $ ss -s IPv6 statistics: $ netstat -s -6