Difference between revisions of "scratchpad"
From thelinuxwiki
(Created page with "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...") |
|||
Line 1: | Line 1: | ||
netstat (version 1.42) interface rx-err rx-drp rx-ovr monitor | 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 | 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 | ||
[[category:misc]] | [[category:misc]] |
Revision as of 21:29, 24 July 2013
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