Skip to content

Instantly share code, notes, and snippets.

@redsfyre
Created November 5, 2021 14:15
Show Gist options
  • Save redsfyre/c8f7ca6b88147e92bae425c6946149b5 to your computer and use it in GitHub Desktop.
Save redsfyre/c8f7ca6b88147e92bae425c6946149b5 to your computer and use it in GitHub Desktop.
Top 20 processes that consume the most memory
#/bin/bash
ps -e -orss=,args= | sort -b -k1 -nr | head -20
@redsfyre
Copy link
Author

redsfyre commented Nov 5, 2021

You can see any number of apps by changing the 20 at the end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment