Skip to content

Instantly share code, notes, and snippets.

@overplumbum
Created June 21, 2012 12:34
Show Gist options
  • Save overplumbum/2965503 to your computer and use it in GitHub Desktop.
Save overplumbum/2965503 to your computer and use it in GitHub Desktop.
Per Process Group memory usage
ps auxw | awk '{ g[$11 " " $12] += $6 } END { for (i in g) { print g[i] "\t" i }}' | sort -bgr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment