How do I get a List of programs connected to internet in linux?
-
24-06-2021 - |
Pregunta
In linux, how can I get a list of programs that are currently connected to (and are receiving data) from the Internet?
Commands like iftop are good but does not show statistics based on process.
Solución
netstat
will show you all established connections. Use -p
for it to show the process associated with each one. It won't show you anything about the amount of data they're receiving though.
Otros consejos
you can use lsof utility which lists information about files opened by processes
lsof -i
will show used internet resources only
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow