Created
August 21, 2022 16:28
-
-
Save fsmunoz/39df741104534b3a04365d07492288cf to your computer and use it in GitHub Desktop.
Kill the process with most CPU usage
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
alias ragekill="ps -eo pcpu,comm,pid | sort -k1 -n|awk 'END {print(\"killed\", \$2); system(\"kill -9 \" \$3)}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment