LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2024, 05:22 AM   #1
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Rep: Reputation: 10
Post Monitor bandwidth based on IP address


Hello,
I found a series of programs to monitor the network at the following address:

https://www.geeksforgeeks.org/linux-...itoring-tools/

But none of them nearly met my needs. I want a program that is under the console and shows on a graph how much bandwidth each IP address is using. Any idea?

Thank you.
 
Old 02-19-2024, 10:11 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
There’s a couple of tools in that link that would probably work, depending upon what you mean by “how much bandwidth each IP address is using”. More specifically, what IP addresses do you want to monitor? What problem are you trying to solve?
 
Old 02-20-2024, 12:24 AM   #3
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by scasey View Post
There’s a couple of tools in that link that would probably work, depending upon what you mean by “how much bandwidth each IP address is using”. More specifically, what IP addresses do you want to monitor? What problem are you trying to solve?
Hello,
Thank you so much for your reply.
Consider a VPN server that has a number of users connecting to it. You want to know how much bandwidth each IP address is using.
 
Old 02-21-2024, 02:32 AM   #4
Jason.nix
Member
 
Registered: Feb 2023
Posts: 561

Original Poster
Rep: Reputation: 10
Hello all,
I found a tool called tcptrack that is somewhat good:
Code:
# tcptrack -i "NIC_Name" port "Port_Number"
 
Old 02-21-2024, 03:01 AM   #5
___
Member
 
Registered: Apr 2023
Posts: 139
Blog Entries: 1

Rep: Reputation: Disabled
Might this be relevant: https://forums.openvpn.net/viewtopic.php?t=31420
Or https://community.openvpn.net/openvpn/ticket/15

(your VPN & fw work is impressive to me!)

Another: https://www.cyberciti.biz/faq/linux-...ic-accounting/
And https://www.kernel.org/doc/ols/2005/...es-273-278.pdf

Last edited by ___; 02-21-2024 at 03:08 AM.
 
  


Reply



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
How can I limit bandwidth and also measure my bandwidth available superbit Linux - Networking 1 07-05-2018 03:47 AM
how to do dhcpd to give a certain ip address based on mac address robertjinx Linux - Server 11 11-27-2010 05:57 AM
Bandwidth limitation based on IP address tikit Linux - Networking 11 02-26-2010 03:24 AM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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
Open Source Consulting | Domain Registration