Show open network connections of a process

From AdminWiki

Revision as of 13:13, 8 May 2009 by Philip (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
  • 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

Personal tools