Created
November 24, 2017 08:04
-
-
Save lidio601/8d6fe21afd944de86a0e40ac120ce3f8 to your computer and use it in GitHub Desktop.
Kill all zombie processes
This file contains 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
kill $(ps -A -ostat,ppid | awk '/[zZ]/{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment