Posted By

AzizLight on 06/05/09


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Jdub7


Measures download speed on eth0


 / Published in: Bash
 

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

Found on command line fu

  1. 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

Report this snippet  

You need to login to post a comment.