Skip to main content
Home
The Baheyeldin Dynasty
The journey for wisdom starts with knowledge
  • Home
  • About
  • Site Map
  • Contact

Monitoring bandwidth usage by individual computers in a home network

  1. Home

By Khalid on 2010/05/30 - 12:53, last updated 2014/08/12 - 17:21

Update: I have finally found an adequate solution, which is using wrtbwmon, a bandwidth monitoring tool for OpenWRT routers. You can download it from the previous link.

Original article follows ...

Anyone with more than a couple of computers on a LAN will sooner face the issue of increased bandwidth usage by someone on the LAN. Be this teenagers downloading via torrents, employees watching YouTube and Facebook videos, or other reasons.

Finding a suitable tool to allow bandwidth monitoring and capping proved to be not an easy task. I am still looking for a solution, but have a few pointers to share.

My thinking was to buy a router that allows me to load an alternate Linux based firmware (e.g. Netgear WNDR3700 which has a large flash ROM size, and already runs OpenWRT), and run some Linux tool on it to do the monitoring.

The following are the things I have found so far that may help with this.

Bandwidth monitoring tools for Linux

This page has a list of all the Linux tools that relate to bandwidth monitoring. A useful starting point for further research.

iftop

The iftop program is very promising since it shows bandwidth consumption per IP address. It is a curses application and uses the libpcap library for packet capture. However, it is a real time only tool, showing what is happening now, and does not save nor show historical information (e.g. which computer consumed the most bandwidth last month).

ipband

The ipband program uses pcap to monitor a subnet and report on bandwidth utilization over a certain threshold, via email, and appending it to a file as well.

fprobe

The fprobe program provides a NetFlow probes. Which means that you can use it on a Linux based router and feed the data to ntop, which is a NetFlow collector, for reporting and graphing.

Bandwidthd

The bandwidthd daemon monitors a network's traffic and reports graphs for it. Looks like it is capable but would be heavy for an embedded router because of all the static HTML and graphs that it saves.

Gargoyle Router

The Gargoyle router is based on OpenWRT. Among its features: bandwidth monitoring for every computer, as well as the facility to set quotas for each individual computer as well. It is open source (e.g. the bwmon-gargoyle package, with the init script doing most of the magic, and a small bwmon_convert.c program, and the qos-gargoyle package, with the init script having all the magic). Perhaps these features are reusable by other router firmware like OpenWRT and friends.

Contents: 
Technology
Tags: 
Bandwidth
Router
OpenWRT
Gargoyle Router
ipband
ntop
iftop
fprobe
  • Add comment

Comments

Joicely (not verified)

One more tool

Mon, 2010/05/31 - 03:41

Great post!But I have to add one more: network sniffer like wireshark, commview, Caspsa, ect.

  • reply

Khalid

Not useful here

Mon, 2010/05/31 - 09:57

A network sniffer is not useful here.

It would be useful to troubleshoot a problem that is happening now. It will not be useful if I want to know what happened 2 weeks ago.

  • reply

Paul Nijjar (not verified)

More options

Tue, 2010/06/01 - 05:27

I have not got a solution yet, but I am leaning towards the following:

pmacct (http://www.pmacct.net, debian package): take nprobe (or other NetFlow) data and put it into a database

pmacct-fe (http://www.pmacct.net/fe/ , no debian package) : Graph the results and make tables for it.

I think this gives me the monitoring I want -- usage per host on my LAN. The cost is pretty high, though -- I need a dedicated server that will collect and analyze this traffic.

  • reply

Nathan (not verified)

I haven't really thought of

Wed, 2010/06/09 - 10:47

I haven't really thought of using anything so far. All things are apparently doing pretty well but if anything goes, I think I'll have the last one you mentioned. Although I still have to make further research what else are better and which gives greater benefits. Still, I'll be taking your advice. Thanks.

  • reply

Current

Pandemic

  • COVID-19
  • Coronavirus

Search

Site map

Contents

  • Family
    • Khalid
    • Ancestry
    • Extended
  • Friends
  • Nokat نكت
  • Writings
    • Cooking
    • Culture
    • Science
    • History
    • Linguistics
    • Media
    • Literature
    • Politics
    • Humor
    • Terrorism
    • Business
    • Philosophy
    • Religion
    • Children
  • Technology
    • Linux
    • Arabization
    • Drupal
      • Association
    • Software
    • Internet
    • Technology in Society
    • Digital Archeology
    • NCR History
    • MidEast Internet
    • Programming
    • Saudi ISPs
    • Miscellaneous
  • Places
    • Canada
      • Weather
    • Egypt
      • Cuisine
      • Alexandria
      • E.G.C.
    • USA
    • Saudi Arabia
  • Interests
    • Astronomy
    • Fishing
    • Photography
    • Snorkeling
    • Nature
    • Photomicroscopy
  • Miscellany

In Depth

  • al-Hakim bi Amr Allah: Fatimid Caliph of Egypt الحاكم بأمر الله
  • Alexandria, Egypt
  • Arabic on the Internet
  • Articles on the history of Muslims and Arabs in the Iberian Peninsula تاريخ المسلمين و العرب في الأند
  • DIY GOTO Telescope Controller With Autoguiding and Periodic Error Correction
  • E.G.C. English Girls College in Alexandria, Egypt
  • Egyptian Cuisine, Food and Recipes مأكولات مصرية
  • George Saliba: Seeking the Origins of Modern Science?
  • Internet Scams and Fraud
  • Mistaken for an Arab or Muslim: Absurdities of being a victim in the War on Terror
  • Mistaken Identity: How some people confuse my site for others
  • One People's Terrorist Is Another People's Freedom Fighter
  • Overview of Google's Technologies
  • Photomicroscopy
  • Pseudoscience: Lots of it around ...
  • Resources for using Google Adsense with Drupal
  • Rockwood Conservation Area, Southern Ontario
  • Selected Symbolic Novels And Movies
  • Snorkeling the Red Sea near Jeddah
  • Updates and Thoughts on the Egyptian Revolution of 2011

Recent Content

Most recent articles on the site.

  • Origin Of COVID-19: Natural Spillover, Lab Leak Or Biological Weapon?
  • Kamal Salibi and the "Israel from Yemen" theory
  • How To Upgrade HomeAssistant Core In A Python Venv Using uv
  • Ancestry - Paternal Side
  • Review of Wait Water Saver For Whole House Humidifiers
more

Most Comments

Most commented on articles ...

  • Another scam via Craigslist: offering more than asking price
  • Warning to female tourists thinking of marrying Egyptians
  • Craigslist classified for used car: Cheque fraud scam
  • Winning the lottery scam email: World Cup South African lottery
  • Email Scam: BMW 5 Series car and lottery winning
more

About Khalid

Various little bits of information ...

  • Khalid Baheyeldin: brief biography
  • Presentations and Talks
  • Youtube Videos
  • GitHub Projects
  • Drupal.org Profile
  • Astrophotography @ Flickr

Sponsored Links

Your Link Ad Here

Tags

Android Mobile Ubuntu Sony OnStep OpenWRT Router Ericsson COVID-19 Rogers Coronavirus Arabic Kubuntu Home Assistant GSM Telescope tablet Spectrum Scam Python 419 Laptop Firefox DIY CPU Conspiracy Comet Balkanization backup App
More

© Copyright 1999-2025 The Baheyeldin Dynasty. All rights reserved.
You can use our content under the Terms of Use.
Please read our privacy policy before you post any information on this site.
All posted articles and comments are copyright by their owner, and reflect their own views and opinions, which may not necessarily be consistent with the views and opinions of the owners of The Baheyeldin Dynasty.

Web site developed by 2bits.com Inc.