F
F
frolov4ynga2021-07-14 00:57:33
linux
frolov4ynga, 2021-07-14 00:57:33

How to see who loads the Internet ???

Good evening!
I apologize if similar questions have already been asked.

The point here is how to organize control over the use of the Internet. those. see who is currently loading the Internet / usage statistics
Internet access is via a Linux-based gateway
. I would also like to watch admins, a transparent proxy is also no longer available.
Tell me how you can organize this
, it would not be bad to look sometimes, ip address and how the channel loads

Answer the question

In order to leave comments, you need to log in

5 answer(s)
H
hint000, 2021-07-14
@hint000

I am using iftop.
https://habr.com/en/post/114082
Traffic monitoring?

C
CityCat4, 2021-07-14
@CityCat4

trafstat/trafd if he is still alive.
Or any traffic collector based on netflow.
But you need to understand that netflow only gives source and destination IP addresses and the amount of data transferred. This is not a very digestible statistic, so the problem statement will most likely need to be reconsidered.

D
Damian Lewis, 2021-07-14
@DamianLewis

netstat -utopa- will show the local address (computer name) of the one who is using the network NOT in real time .

Screen
60ee71ca9edf5994084861.png

iftop- real-time displays the local address (computer name), which sites are open, how much data is received and transmitted. Install sudo apt install iftop. To monitor only the desired network interface, find out the name of the interface using the command ifconfig. Then enter sudo iftop -i название интерфейса. Examplesudo iftop -i wlk30
Screen
60ee75d0eb55c493653544.png

nethogs- shows in real time what programs are using the network and how much data they receive or send. It will also show the username. You must run the command through sudo nethogsInstall nethogssudo apt-get install nethogs
Screen

60ee764ae2417823885615.png

U
unseriously, 2021-07-14
@unseriously

nethogs- exactly what is needed in this situation

G
Gora, 2021-07-24
@ikush

trafshow
iftop
tcpdump
In any case, you need to write individuality yourself on the basis of ready-made utilities. And then all this can be driven into zabbix into graphics. You will hardly find a finished product, right for your needs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question