Show open network connections of a process
From AdminWiki
- lsof does not support selecting process /and/ network, but:
lsof -i |grep <pid|processname>
- netstat:
netstat -tnap |grep <pid|processname>
Category:Lsof Category:Network Category:Shell Category:Snippet Category:Debugging Category:Netstat