Skip to content

Instantly share code, notes, and snippets.

@zeffii
Created December 22, 2013 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zeffii/8082280 to your computer and use it in GitHub Desktop.
Save zeffii/8082280 to your computer and use it in GitHub Desktop.

ps shows processes for that session
killall python3 that'll kill all processes running python3 for your user
ps ux to show all current processes
netstat -anp will show you network connections and the processes attached to them pipe it to grep and you can netstat -anp | grep -i 5000 will look for lines with 5000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment