Created
June 13, 2014 16:07
-
-
Save flug/0e4b91b1828b1d61acc3 to your computer and use it in GitHub Desktop.
Sort process by memory and kill the biggest proccess
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
ps ax --sort %cpu --format pid|tail -n 1|xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment