Created
September 23, 2024 22:27
-
-
Save eliocapelati/d14d7a7c981d08eeb90f19c11b906a01 to your computer and use it in GitHub Desktop.
Find and kill Rails process running on top of puma
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
function killr(){ | |
ps -ef | grep puma | awk '{print $2}' | xargs kill -9 >> /dev/null 2>&1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment