Tag Archives: bash

Bash Script: MemUse

Quick useful function to get all of the memory in use by a process or set of processes from a bash prompt: memuse() { arr=`ps aux | grep -E $1 | grep -v grep | sed -e ‘s/[^ \t]*[ \t]*[^ … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment