LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2010, 11:53 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Any Tool which can monitor upload/ download in network?


I have few Windows and Linux Machines and am in verse to monitor what upload and download is being performed as the network system are running in slow pace.Any one who can recommend a tool or utility which can track uploads and download in a network.If it can track who is downloading or uploading with what size of data could really benefit.

Last edited by your_shadow03; 02-19-2010 at 12:02 AM.
 
Old 02-19-2010, 08:58 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
You could try netop also if you can get access to a mirrored port on a switch that uploads to your router, or can place a hub between your computers and the Router, or lastly you could place a computer bewtween your router and network, then you could monitor it easier with a multitude of other software, even in realtime using something like iftop.
 
Old 02-21-2010, 09:30 AM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
Rep: Reputation: 51
It seems to be Paid one.
Any Free software?
 
Old 02-21-2010, 10:40 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
You could contrive some netfilter rules with iptables, which would selectively log the traffic of interest. The results can be inspected using the '-L -v' commands of iptables. This can be done with a script that parses the resulting output of iptables to maintain history logs, etc.
Example:
Code:
iptables -t filter -N HOSTX
iptables -t filter -I HOSTX --source hostx.your.domain
iptables -t filter -I HOSTX --dest hostx.your.domain
iptables -t filter -I INPUT -j HOSTX
iptables -t filter -I OUTPUT -j HOSTX
This script creates a chain 'HOSTX', which does nothing, but is invoked every time a packet passes the INPUT or OUTPUT chain of the filter table. These rules would cause all traffic to or from the host named 'hostx.your.domain' to be seen by the chain 'HOSTX'. A side effect of this is that the packet and byte count of the chain 'HOSTX' is accumulated by the filter. Later, perhaps on a scheduled interval, we can inspect the packet and byte count:
Code:
iptables -t filter -L -v
The accumulated counts can be zeroed with the -Z switch.
For your application, you would want to create rules in the INPUT, OUTPUT, or FORWARD chains that are selective about hosts, domains and ports of interest to you.

This would run on an individual server, monitoring only traffic seen on the server. If you actually want to monitor your network at large, you will need to use some kind of sniffer, like tcpdump (or it's GUI cousin, wireshark), but this also requires assistance from a smart switch on a switched ethernet network.

--- rod.

Last edited by theNbomr; 02-21-2010 at 10:53 AM.
 
Old 02-22-2010, 08:59 AM   #5
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
nettop is not a paid solution it is free, you could also try nagios, the free version, and several others
 
Old 02-23-2010, 10:34 AM   #6
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
i think cacti or mrtg would be best for this.
http://www.cacti.net/screenshots.php
 
Old 02-23-2010, 12:10 PM   #7
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
But cacti only works on SNMP managed devices, if he has an unmanaged switch he is likely to not be able to get any data. I have that problem in my network, only my router is managed so I can monitor those ports but I have no real idea of the other traffic except what I glean from netop and iftop which sits on a hub at the point where all the daisy chained switches connect to the router LAN port. I wish I had managed switches, though I am looking at getting one and daisy chaining each swith to it so at least I can isolate network traffic to individual switches.
 
Old 02-24-2010, 05:38 AM   #8
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by scheidel21 View Post
But cacti only works on SNMP managed devices, if he has an unmanaged switch he is likely to not be able to get any data. I have that problem in my network, only my router is managed so I can monitor those ports but I have no real idea of the other traffic except what I glean from netop and iftop which sits on a hub at the point where all the daisy chained switches connect to the router LAN port. I wish I had managed switches, though I am looking at getting one and daisy chaining each swith to it so at least I can isolate network traffic to individual switches.
nettop?? i assume you mean ntop..
 
Old 02-24-2010, 08:27 AM   #9
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6-7, WIN 7-10, WIN SRV 03-12r2
Posts: 1,309

Rep: Reputation: 98
yea sorry
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Low level network interface download speed monitor Geneset Linux - Networking 2 11-06-2008 02:16 PM
Tool to Monitor Network Traffic for Firewall Rule Set? jrbush82 Linux - Security 2 07-18-2007 07:59 PM
Which is the linux upload tool backpacker Linux - Software 7 01-06-2006 09:07 AM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 04:06 PM
Web upload tool chichibabin Linux - General 7 10-19-2003 10:15 PM


All times are GMT -5. The time now is 03:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration