/ Published in: Bash
URL: http://www.commandlinefu.com/
Found on command line fu
Expand |
Embed | Plain Text
while true; do X=$Y; sleep 1; Y=$(ifconfig eth0|grep RX\ bytes|awk '{ print $2 }'|cut -d : -f 2); echo "$(( Y-X )) bps"; done
You need to login to post a comment.
