Created
April 15, 2016 07:48
-
-
Save fortitudepub/bfb6537274e1b82b78689f27888b7b57 to your computer and use it in GitHub Desktop.
one liner to count rss memory size.
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 -eo rss,pid,comm | awk '{s+=$1} END {print s}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment