Find open ports and associated processes

netstat -lnp (as root)

gives you PID for any port, then just type:
ps auwex |grep -w PID

Also, try lsof -p PID to get files and sockets.

About these ads

Comments are closed.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: