08-30-2011
Bandwidth monitoring using python
I wish to develop an application to monitor the network traffic of my system.
I wish to know which computer networked to me is using most of the bandwidth. I know the basics of python but do not know how to start the work.. please suggest some good methods to follow.
9 More Discussions You Might Find Interesting
1. IP Networking
i have two questions actually...
i need to block certain ports with openbsd and PF in a large lan, the firewall is supposed to be a router between the internet and the first lan switch.
first of all, would this work at all in theory?
second, i tried doing this a few days ago at a huge lan but i... (2 Replies)
Discussion started by: nocturnal
2 Replies
2. UNIX for Dummies Questions & Answers
What are my options for monitoring bandwidth on a per user basis? Ideally, I'd like something thats easy to configure (like a webmin module pleeeease?), and that could monitor ALL bandwidth. Not just web bandwidth but also ftp/afp uploading and downloading, and email traffic. I know this is a... (4 Replies)
Discussion started by: l008com
4 Replies
3. UNIX for Advanced & Expert Users
Is there a way to monitor FTP and AFP bandwidth on a per user basis? AFP = AppleFilesharingProtocol, and by monitor, I don't mean graphs, I mean getting raw byte counts I can use in my scripts any way I choose. I am attempting to use mod_watch to monitor virtual domain bandwidth usage, but I really... (0 Replies)
Discussion started by: l008com
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm looking for some way to bring up in a shell window a realtime (or something that updates at 10 second intervals or whatever) bandwidth monitor.
I just want something that shows me how much kbps is going in and how much is going out of each interface. Is there something that might... (2 Replies)
Discussion started by: d11wtq
2 Replies
5. UNIX for Advanced & Expert Users
Hi Gurus,
Need to have a way to monitor Bandwidth utilization on Linux servers, running squid .
Have worked on 3rd party monitoring tools like Bandwidth d, Nagios etc.
But we are working to find out a way to monitor this through Sitescope, for which we need to find a file where the... (4 Replies)
Discussion started by: Crazy_murli
4 Replies
6. IP Networking
Hi,
1-What is bandewidth ?
2-How to calculate ?
3-How to measure ? Any free software to measure it ?
Many thanks. (4 Replies)
Discussion started by: big123456
4 Replies
7. IP Networking
Hi all
I have been running iptraf on a linux box for a few months monitoring bandwidth utilization realtime from mac address with port mirroring.
Now I want to graph these bandwidth utilization. Is MRTG the right software?
Any ideas? (4 Replies)
Discussion started by: palm101
4 Replies
8. UNIX for Beginners Questions & Answers
Are there any existing python module for service monitoring? For example apache service? (1 Reply)
Discussion started by: ctrld
1 Replies
9. Programming
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Discussion started by: wisecracker
1 Replies
LEARN ABOUT CENTOS
dummynet
DUMMYNET(4) BSD Kernel Interfaces Manual DUMMYNET(4)
NAME
dummynet -- traffic shaper, bandwidth manager and delay emulator
DESCRIPTION
The dummynet system facility permits the control of traffic going through the various network interfaces, by applying bandwidth and queue
size limitations, implementing different scheduling and queue management policies, and emulating delays and losses.
The user interface for dummynet is implemented by the ipfw(8) utility, so please refer to the ipfw(8) manpage for a complete description of
the dummynet capabilities and how to use it.
Kernel Options
The following options in the kernel configuration file are related to dummynet operation:
IPFIREWALL enable ipfirewall (required for dummynet)
IPFIREWALL_VERBOSE enable firewall output
IPFIREWALL_VERBOSE_LIMIT limit firewall output
DUMMYNET enable dummynet operation
HZ set the timer granularity
Generally, the following options are required:
options IPFIREWALL
options DUMMYNET
options HZ=1000 # strongly recommended
Additionally, one may want to increase the number of mbuf clusters (used to store network packets) according to the sum of the bandwidth-
delay products and queue sizes of all configured pipes.
SEE ALSO
setsockopt(2), if_bridge(4), ip(4), ipfw(8), sysctl(8)
HISTORY
The dummynet facility was initially implemented as a testing tool for TCP congestion control by Luigi Rizzo <luigi@iet.unipi.it>, as
described on ACM Computer Communication Review, Jan.97 issue. Later it has been modified to work at the IP and bridging levels, integrated
with the ipfw(4) packet filter, and extended to support multiple queueing and scheduling policies.
BSD
October 28, 2002 BSD