Linux: Get Realtime Bandwidth Statistics Using Stock Commands

By Daniel Miessler on November 15th, 2006: Tagged as Linux | Sysadmin
  • http://bonaveo.net/ Aleksandersen

    Thanks. But is it not easier to add a bandwidth monitor to one’s Gnome panel?

  • http://bonaveo.net/ Aleksandersen

    Thanks. But is it not easier to add a bandwidth monitor to one’s Gnome panel?

  • http://cheyne.net/blog Iain

    I have been using bwm-ng (http://www.gropp.org/?id=projects&sub=bwm-ng) but I’ll give your command a try.

  • http://cheyne.net/blog Iain

    I have been using bwm-ng (http://www.gropp.org/?id=projects&sub=bwm-ng) but I’ll give your command a try.

  • http://slashback.org/ Tim

    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.

  • http://slashback.org Tim

    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

    for Debian (at least for Debian etch) that should be MiB

  • birlinn

    for Debian (at least for Debian etch) that should be MiB

  • Daniel Miessler

    Thanks, I should have mentioned that. :)

  • Daniel Miessler

    Thanks, I should have mentioned that. :)


Top

Popular

Information Security / Technology

Politics

Philosophy & Religion

Technology & Science

Culture & Society

Miscellaneous

Arguments

Projects

Collections

Twitter

What I'm Reading

Favorite Books and Essays

Top Blog Categories

Inputs