Last active
October 15, 2021 11:26
-
-
Save alimbada/e01c79f37ac90a4fb6f1778160277b05 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# get processes by memory usage on busybox | |
ps | tail -n +2 | awk 'BEGIN {OFS="\t"}; { s = ""; for (i = 5; i <= NF; i++) s = s $i " "; print $3, s }' | sort -rnk 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment