Skip to content

Instantly share code, notes, and snippets.

@al-mighty
Forked from bmichalski/kill-all-php-fpm.sh
Created September 4, 2018 23:09
Show Gist options
  • Save al-mighty/a2ad1e17c41c1b08a44e0d753e6d8d00 to your computer and use it in GitHub Desktop.
Save al-mighty/a2ad1e17c41c1b08a44e0d753e6d8d00 to your computer and use it in GitHub Desktop.
Kill all php-fpm processes
sudo kill -9 `sudo ps -ef | grep php-fpm | grep -v grep | awk '{print $2}'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment