Last active
December 21, 2020 15:59
-
-
Save milindsingh/c9277e109247d90683bc6cf58212e7b2 to your computer and use it in GitHub Desktop.
Magento 2 Commands
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
# kill all consumers | |
pgrep -u "$(whoami)" -f "[q]ueue:consumers:start" | tee /dev/stderr | awk '{print $1}' | xargs -r kill | |
# top 15 process | |
ps aux | awk '{print $2, $4, $11, $12, $13, $14}' | sort -k2r | head -n 15 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment