Created
May 21, 2017 18:00
-
-
Save 00krishna/b6b0776a600388b62190cf2f9f6aca99 to your computer and use it in GitHub Desktop.
kill stale processes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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