DISQUS

danielmiessler.com | grep understanding: Linux: Get Realtime Bandwidth Statistics Using Stock Commands

  • Aleksandersen · 3 years ago
    Thanks. But is it not easier to add a bandwidth monitor to one's Gnome panel?
  • Iain · 3 years ago
    I have been using bwm-ng (http://www.gropp.org/?id=projects&sub=bwm-ng) but I'll give your command a try.
  • Tim · 3 years ago
    I believe the point was to be able to monitor network activity without installing anything.

    Personally, I prefer using the -s switch to ifconfig, like so:

    $ watch -n1 ifconfig -s eth0

    ...which outputs something like this:

    Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
    eth0 1500 0 104129 0 0 0 107071 0 0 0 BMRU

    ...but it's in a mono space font so all the columns line up.
  • birlinn · 3 years ago
    for Debian (at least for Debian etch) that should be MiB
  • Daniel Miessler · 3 years ago
    Thanks, I should have mentioned that. :)