Skip to content

Instantly share code, notes, and snippets.

@DomPixie
Forked from DominicWatts/kill-magento-processes
Created November 22, 2021 21:13
Show Gist options
  • Save DomPixie/4cae4ce0b13ad846e08c1abea9812663 to your computer and use it in GitHub Desktop.
Save DomPixie/4cae4ce0b13ad846e08c1abea9812663 to your computer and use it in GitHub Desktop.
kill-magento-processes
kill -9 $(ps -aux | grep 'bin/magento' | grep -v grep | awk '{print $2}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment