LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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



Reply
 
Search this Thread
Old 04-09-2009, 08:28 AM   #1
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Rep: Reputation: 16
Question displaying bandwidth usage information on an network


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, 17 views)
 
Old 04-09-2009, 08:42 AM   #2
lynos
Member
 
Registered: Mar 2004
Distribution: RedHat, Centos, Ubuntu
Posts: 52

Rep: Reputation: 15
You can use ntop to see who are using internet for what?

http://www.ntop.org
 
Old 04-09-2009, 09:31 AM   #3
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
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.
 
Old 04-09-2009, 09:40 AM   #4
lynos
Member
 
Registered: Mar 2004
Distribution: RedHat, Centos, Ubuntu
Posts: 52

Rep: Reputation: 15
If it is possible like this (http://www.ntop.org/news.html).
 
Old 04-09-2009, 03:11 PM   #5
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
I didnt understand
I want something like the one on my screenshot or something near
 
Old 04-12-2009, 02:26 AM   #6
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
any other suggestions please
 
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

Rep: Reputation: 61
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
 
Old 04-12-2009, 07:10 AM   #8
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
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?
 
Old 04-16-2009, 09:00 AM   #9
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
any other suggestion guys ??
 
Old 04-17-2009, 07:54 AM   #10
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
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
 
Old 04-17-2009, 09:17 AM   #11
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
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, 7 views)
 
Old 04-17-2009, 02:24 PM   #12
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
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
 
Old 04-17-2009, 04:21 PM   #13
wanas
Member
 
Registered: Aug 2008
Location: Alexandria, Egypt
Distribution: Ubuntu 10.10
Posts: 158

Original Poster
Rep: Reputation: 16
I dunno what to say more than thank you john test
I will try what U have said
 
Old 04-17-2009, 09:31 PM   #14
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
You are very welcome.
 
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

Rep: Reputation: 61
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.
 
  


Reply

Tags
bandwidth, monitoring, networking


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
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 06:31 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration