Skip to content

Instantly share code, notes, and snippets.

@eliocapelati
Created September 23, 2024 22:27
Show Gist options
  • Save eliocapelati/d14d7a7c981d08eeb90f19c11b906a01 to your computer and use it in GitHub Desktop.
Save eliocapelati/d14d7a7c981d08eeb90f19c11b906a01 to your computer and use it in GitHub Desktop.
Find and kill Rails process running on top of puma
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