summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 10:22:37 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-08-12 22:02:13 -0700
commit0fa7a42ae7ee929d75592a8c4923502d0975fb44 (patch)
tree75e30252efbf9bf0964cadb81ee0464cf1ebf5bf
parentce2634572cf5b64313a9cccd7cb1fed21bcddb9c (diff)
downloadvyatta-op-0fa7a42ae7ee929d75592a8c4923502d0975fb44.tar.gz
vyatta-op-0fa7a42ae7ee929d75592a8c4923502d0975fb44.zip
Add ethtool output to show tech-support
More useful debugging information for network device issues.
-rwxr-xr-xfunctions/tech-support7
1 files changed, 7 insertions, 0 deletions
diff --git a/functions/tech-support b/functions/tech-support
index 9f7c198..f7d5c18 100755
--- a/functions/tech-support
+++ b/functions/tech-support
@@ -84,8 +84,15 @@ header System Info
${vyatta_bindir}/vyatta-show-dmi
header Interfaces
+show interfaces
+echo
show interfaces detail
+for eth in $(/opt/vyatta/sbin/vyatta-interfaces.pl --show=ethernet)
+do header "Ethtool statistics for $eth"
+ sudo ethtool -S $eth
+done
+
header Devices
cat /proc/devices