Show open network connections of a process
From AdminWiki
(Difference between revisions)
Revision as of 13:13, 8 May 2009
- 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