Created
October 25, 2012 02:42
-
-
Save kneipp/3950154 to your computer and use it in GitHub Desktop.
medindo memoria
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 -u kneipp -o rss,command | grep -v peruser | awk '{sum+=$1} END {print sum/1024}' |
ps -u user -o rss,etime,pid,command
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ps -u kneipp -o rss,command | awk '{sum+=$1} END {print sum/1024, "MB"}'