Linux: Get Realtime Bandwidth Statistics Using Stock Commands

By Daniel Miessler on November 15th, 2006: Tagged as Linux | Sysadmin
  • Daniel Miessler
    Thanks, I should have mentioned that. :)
  • birlinn
    for Debian (at least for Debian etch) that should be MiB
  • 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.
  • I have been using bwm-ng (http://www.gropp.org/?id=projects&sub=bwm-ng) but I'll give your command a try.
  • Thanks. But is it not easier to add a bandwidth monitor to one's Gnome panel?
blog comments powered by Disqus

 

twitter_icon

Sample Original Content


Information Security

Tutorials and Primers

Culture & Society

Technology & Science

Politics

Philosophy & Religion

Miscellaneous

Tools & Projects


Blog Archives