scratchpad

From thelinuxwiki
Revision as of 21:29, 24 July 2013 by Nighthawk (Talk | contribs)

Jump to: navigation, search

netstat (version 1.42) interface rx-err rx-drp rx-ovr monitor

while true; do netstat -i | grep -v -E "lo|Kernel|RX" | awk '{print $5,$6,$7,$9,$10,$11 ","}' | tr -d "\n"; echo; sleep 5; done

ethtool (version 5-5) error monitor

while true; do ethtool -S eth1-01 | grep -E "error|no_buffer"; sleep 5; echo "---------------------"; done