Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save 00krishna/b6b0776a600388b62190cf2f9f6aca99 to your computer and use it in GitHub Desktop.
Save 00krishna/b6b0776a600388b62190cf2f9f6aca99 to your computer and use it in GitHub Desktop.
kill stale processes
//Find zombie processes
ps aux | grep 'Z'
//Find the parent processes for the zombie
pstree -p -s 93572
//Note that 93572 is just a number, you can enter your own number
//kill parent process
kill <parent process id>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment