LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 04-09-2009, 08:28 AM   #1
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3
Question displaying bandwidth usage information on an network


[Log in to get rid of this advertisement]
I have a network connection between 3 computers sharing the same net bandwidth with the same router (modem), I wanted to know how much every one of this network taking from the bandwidth, I want an easy program like switch-sniffer (see the pic) to scan the network and tell me how much every one taking from this network in real time.
Attached Images
File Type: png Screenshot-1.png (57.1 KB, 16 views)
wanas is offline  
Tag This Post , ,
Reply With Quote
Old 04-09-2009, 08:42 AM   #2
lynos
Member
 
Registered: Mar 2004
Distribution: RedHat, Centos, Ubuntu
Posts: 51
Thanked: 0
You can use ntop to see who are using internet for what?

http://www.ntop.org
lynos is offline     Reply With Quote
Old 04-09-2009, 09:31 AM   #3
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
yeah I have tried ntop, iptraf, wireshark, iftop and others but I didnt get how to make them work to monitor the other hosts on the network and how much they take from the bandwidth.
wanas is offline     Reply With Quote
Old 04-09-2009, 09:40 AM   #4
lynos
Member
 
Registered: Mar 2004
Distribution: RedHat, Centos, Ubuntu
Posts: 51
Thanked: 0
If it is possible like this (http://www.ntop.org/news.html).
lynos is offline     Reply With Quote
Old 04-09-2009, 03:11 PM   #5
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
I didnt understand
I want something like the one on my screenshot or something near
wanas is offline     Reply With Quote
Old 04-12-2009, 02:26 AM   #6
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
any other suggestions please
wanas is offline     Reply With Quote
Old 04-12-2009, 05:36 AM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Thanked: 4
What sort of router do you have?

I use a Linksys WRT54GL, with DD-WRT (Linux based), and simply run Cacti on one of the PCs. The router exports SNMP data, which Cacti graphs to show total bandwidth utilization as a graph.

This router also has the ability to export Netflow information, which can be captured and analysed.

Many routers would have similar functions.

--Ian
IBall is offline     Reply With Quote
Old 04-12-2009, 07:10 AM   #8
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
Quote:
Originally Posted by IBall View Post
What sort of router do you have?

I use a Linksys WRT54GL, with DD-WRT (Linux based), and simply run Cacti on one of the PCs. The router exports SNMP data, which Cacti graphs to show total bandwidth utilization as a graph.

This router also has the ability to export Netflow information, which can be captured and analysed.

Many routers would have similar functions.

--Ian
I use a TP-LINK router but I think that this option is not here, can you Tell me how to know do this is supported by the router or not, and how I search on the net for that?
wanas is offline     Reply With Quote
Old 04-16-2009, 09:00 AM   #9
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
any other suggestion guys ??
wanas is offline     Reply With Quote
Old 04-17-2009, 07:54 AM   #10
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 461
Blog Entries: 1
Thanked: 6
Never heard of a TP link router so can't help you there with specifics;
you can either Google dd-wrt and use those websites to see if dd-wrt is compatible with your router,
or
You can, just assume that your router has snmp capability and run Cacti (from above),
or
you can contact your Router mfr tech support and see what you need to do to enable SMMP on your router.

Hope this helps
john test is offline     Reply With Quote
Old 04-17-2009, 09:17 AM   #11
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
I have this in the router page (see the attach), but I dont know what to do next
sorry I am not a pro in this things, can you help me to the next step?
Attached Images
File Type: png Screenshot-TP-LINK ADSL Router - Mozilla Firefox.png (121.3 KB, 4 views)
wanas is offline     Reply With Quote
Old 04-17-2009, 02:24 PM   #12
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 461
Blog Entries: 1
Thanked: 6
Just shooting from the hip, but it looks like you could put a dot in ENABLE and an IP address of the computer you are going to install cacti on and save the settings.
Then google cacti and when you find the site to download from, read the docs available there and then do the downloac to your PC.
Having enabled SNMP on your router it should be transmitting SNMP traps/data and so when you download cacti and start it up it should start displaying network traffic.
So there are five steps
1. Read Router documentation relating to SNMP configuration
2. Configure SNMP on your router
3. Google and Read SNMP
4. Google and Read Cacti install and operation
5. Install and configure Cacti
john test is offline     Reply With Quote
Thanked by:
Old 04-17-2009, 04:21 PM   #13
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 9.04
Posts: 131
Thanked: 3

Original Poster
I dunno what to say more than thank you john test
I will try what U have said
wanas is offline     Reply With Quote
Old 04-17-2009, 09:31 PM   #14
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 461
Blog Entries: 1
Thanked: 6
You are very welcome.
john test is offline     Reply With Quote
Old 04-17-2009, 10:15 PM   #15
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Thanked: 4
You probably don't need to have a Trap manager IP. I don't know what this is, so it is quite likely unnecessary.

Basically, just enable SNMP on that screen and Save the settings.

Then install Cacti on your Linux box. Cacti is fairly straight-forward, and there is heaps of documentation.
IBall is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Bandwidth usage masenko703 Linux - Newbie 4 01-18-2009 11:30 PM
LXer: Displaying System Information On Linux or Unix With Cfg2html LXer Syndicated Linux News 0 08-21-2008 10:41 AM
Displaying Process Information From task_struct smoothdogg00 Programming 1 12-19-2006 05:57 PM
Monitor bandwidth usage and attempted usage! Depressed_amphibian Linux - Networking 3 06-15-2006 08:13 AM
about displaying process memory usage maginotjr Slackware 2 09-13-2005 12:43 PM


All times are GMT -5. The time now is 07:59 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration