Show RAM used by given user (in MB)
ps -u your_username -o rss,command | grep -v peruser | awk '{sum+=$1} END {print sum/1024}'
Show RAM used by individual process (in KB)
ps -u your_username -o rss,pid,command
http://forum.webfaction.com/viewtopic.php?id=2356
Saturday, January 17, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment