Question

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.

Was it helpful?

Solution

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.

OTHER TIPS

you can use lsof utility which lists information about files opened by processes

lsof -i

will show used internet resources only

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top