Skip to content

Instantly share code, notes, and snippets.

@jonalvarezz
Created September 19, 2016 15:19
Show Gist options
  • Save jonalvarezz/9e34a28180468d18048775113786658a to your computer and use it in GitHub Desktop.
Save jonalvarezz/9e34a28180468d18048775113786658a to your computer and use it in GitHub Desktop.
Search and destroying idle processes

Search by process name

ps -ef | grep node

Search by port and destroy

lsof -t -i tcp:8080 | xargs kill -9

Destroy py PID

kill -9 <PID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment