summaryrefslogtreecommitdiff
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-06-03 12:21:48 -0700
commitdf44940f061294827137e5ceb03a4399d4a3fa41 (patch)
treece32dd2bd388804d4c8ec122f9170394d5b817a8
parent9c49984ae0d9b36f02f4481b48901a72f05460b2 (diff)
downloadvyatta-op-df44940f061294827137e5ceb03a4399d4a3fa41.tar.gz
vyatta-op-df44940f061294827137e5ceb03a4399d4a3fa41.zip
Remove show tech-support bug related to interfaces
Show more in show-tech support.
-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