To get traffic RX/TX in Mb/s on Linux
IF=eth0 ;echo "RX\tTX" ; while true ; do A=$(awk "/$IF:/ {print \$2,\$10}" /proc/net/dev) && sleep 8 && B=$(awk "/$IF:/ {print \$2,\$10}" /proc/net/dev) && echo -n "$A $B" |awk '{print ($3 - $1)/2^20,($4 - $2)/2^20}';done
Subscribe to:
Post Comments (Atom)
Popular posts
-
Yesterday I opened my brand new Pioneer VSX-921. The goal was to build a pre-out connector to connect a real amplifier : a Rotel RA-820A. ...
-
You want to drive a passive subwoofer or amplify your Hi-Fi system with real Bi-amplification? Then this little trick will explain you how ...
-
I recently bought a Sricam on Amazon just to see what you can have nowadays for £30. After all, not so long ago the only (in)decent thing ...
No comments:
Post a Comment