diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-06-03 10:22:37 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-08-12 22:02:13 -0700 |
commit | 0fa7a42ae7ee929d75592a8c4923502d0975fb44 (patch) | |
tree | 75e30252efbf9bf0964cadb81ee0464cf1ebf5bf /functions/tech-support | |
parent | ce2634572cf5b64313a9cccd7cb1fed21bcddb9c (diff) | |
download | vyatta-op-0fa7a42ae7ee929d75592a8c4923502d0975fb44.tar.gz vyatta-op-0fa7a42ae7ee929d75592a8c4923502d0975fb44.zip |
Add ethtool output to show tech-support
More useful debugging information for network device issues.
Diffstat (limited to 'functions/tech-support')
-rwxr-xr-x | functions/tech-support | 7 |
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 |