Ps

Count processes running under each user
ps -ef | awk '{print $1}' | sed '/UID/d' | sort | uniq -c | sort -nr