Total upload and download on any interface.

Something that I have been searching for a long time, finally some look inside the /proc got me what I wanted. Hope this will save someone’s day. So far, the only option I could think of was to run conky which becomes a little heave on some of the very old laptops I have to use sometimes 🙁

 cat /proc/net/dev|grep eth2|awk '{print $2/1024/1024"  "$10/1024/1024}'

Enhanced by Zemanta

1 thought on “Total upload and download on any interface.”

This site uses Akismet to reduce spam. Learn how your comment data is processed.