问题原文
原帖链接 · Luis Lobo Borobia · CC BY-SA 3.0
I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process is using... or a list of ports, protocol, and the process that has that port open or is listenting to.
This is for Linux based OS.
已采纳解答
原帖链接 · Luis Lobo Borobia · CC BY-SA 3.0
After some time I found nethogs, it's right what I needed in the first place:
It needs the device name as the first parameter, and must be run as sudo:
sudo nethogs wlp9s0
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
