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.

Advertisements

Comments are closed.

%d bloggers like this: