Skip to content

Instantly share code, notes, and snippets.

@petitchevalroux
Last active August 17, 2016 15:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petitchevalroux/0b70e633b14dcdf0351a942bd62013c4 to your computer and use it in GitHub Desktop.
Save petitchevalroux/0b70e633b14dcdf0351a942bd62013c4 to your computer and use it in GitHub Desktop.
List all open TCP connections by a process
lsof -i TCP -a -p <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment