summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-03 12:21:48 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-08-12 22:02:50 -0700
commit6cc3dc8043dd28793c677bfcb34a2a43061e5459 (patch)
treeeb9e22d601651aaac588b4e1a61b05f222d8bfd5 /functions
parent0fa7a42ae7ee929d75592a8c4923502d0975fb44 (diff)
downloadvyatta-op-6cc3dc8043dd28793c677bfcb34a2a43061e5459.tar.gz
vyatta-op-6cc3dc8043dd28793c677bfcb34a2a43061e5459.zip
Remove show tech-support bug related to interfaces
Show more in show-tech support.
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/tech-support7
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