-
-
Save slav123/c6de4c796709e08e6722d25638219950 to your computer and use it in GitHub Desktop.
Kill all php-fpm 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
sudo kill -9 `sudo ps -ef | grep php-fpm | grep -v grep | awk '{print $2}'` | |
ps -A | grep php-fpm | awk '{print $1}' | xargs kill -9 $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment