Return to Snippet

Revision: 14493
at June 5, 2009 10:58 by AzizLight


Initial Code
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

Initial URL
http://www.commandlinefu.com/

Initial Description
Found on command line fu

Initial Title
Measures download speed on eth0

Initial Tags


Initial Language
Bash