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. ...
-
ffmpeg -i GOPR0459.MP4 -r 24 -vf "setpts=(10/1)*PTS" -vcodec libx264 -an GOPR0459_10.MP4
-
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 ...
No comments:
Post a Comment