bandwidth monitor

Description

bandwidth monitor is a small application which polls /proc/net/dev for the byte counts for a given network device , and calculates the RX and TX bandwidths. Originally a shell script, then a Perl script, now rewritten in C so that it can easily be used on embedded devices like the Linksys WRT54G as well as. This program started as a shell script that I ran on my home-brew firewall wireless router (Linux, of course, on a 486/66) to keep track of my incoming and outgoing bandwidth. This let me know that I was getting the bandwidth that I paid for, and it also helped me keep an eye on the throttling of bulk traffic so that I didnt choke out my interactive sessions. Of course, that was before I had QOS. The program is probably tied to Linux, since it grabs the byte counts for the requested interface right from /proc/net/dev. It could pretty easily be modified to grab the same information from the output of /sbin/ifconfig, but that would waste resources to spawn a new process to parse the /proc/net/dev file and regurgitate it to us. Also, I havent bothered to look at how uniform the output of the byte counts from /sbin/ifconfig is on other operating systems. As a side note, the C version also uses nanosleep() and gettimeofday() to get more accurate polling intervals and track the overall time (since sleep(), usleep(), nanosleep(), et. al. only guaruntee to wait at least as long as you request, but do not guaruntee that it wont be possibly much longer...) So, if you were interested in porting it, youd have to make sure that nanosleep() and gettimeofday() were also available, or lose the resolution of the time used in bandwidth calculations. BUILDING $ gcc -O3 -o bandwidth_monitor bandwidth_monitor.c.

Bandwidth Monitor - Small Application - Bandwidth - Monitor - Byte - Counts - Polls - Small - Networking - System

Published By:Craig B. Agricola

License Type:Freeware

Date Added:22 October, 2010

Version:1.4

Price:Free

Downloads:23

Size:4.1 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

Linux Bandwidth Monitor (bwmon) is yet another utility that measures bandwidth utiliazation per interface basis. It is coded in C and takes advantage of POSIX thread and curses library.

DateAug 28, 2010

AuthorKimmo Nupponen

Size5.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Ibmonitor is an interactive Linux console application which shows bandwidth consumed on all interfaces. This project is different from existing similar utilities in that it can show the values in Kbits/sec (Kbps) and Kbytes/sec (KBps) simultaneously.

DateAug 13, 2010

AuthorRohan Almeida

Size16.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Bandwidth Monitor NG is a small and simple console-based live bandwidth monitor. I have sucessfully tested on (if you have any other sucessfull or unsucessfull, please mail me): Linux 2.4, Linux 2.6 FreeBSD 4.8, 5.3 MacOS X 10.1, 10.2, 10.

DateAug 15, 2010

AuthorVolker Gropp

Size67.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

bmon is a portable bandwidth monitor and rate estimator running on various operating systems. It supports various input methods for different architectures.

DateAug 31, 2010

AuthorThomas Graf

Size266.2 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

B-Chat is a small application which allows you to chat on Battle.net. It has no fancy GUI interface (yet :-), but I have plans for making it Gnome compliant.

DateSep 20, 2010

AuthorArne Sagnes

Size6.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet