diff options
-rwxr-xr-x | functions/tech-support | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/functions/tech-support b/functions/tech-support index f7d5c18..f8d54df 100755 --- a/functions/tech-support +++ b/functions/tech-support @@ -85,10 +85,11 @@ ${vyatta_bindir}/vyatta-show-dmi header Interfaces show interfaces -echo -show interfaces detail -for eth in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet) +header Interface statistics +ip -s link show + +for eth in $(cd /sys/class/net; echo eth*) do header "Ethtool statistics for $eth" sudo ethtool -S $eth done |