top memory users (mempigs) ps aux | awk '{print $6/1024 " MB\t\t" $11 " " $12}' | sort -n | tail -10 Alias it with: alias mempigs="ps aux | awk '{print \$6/1024 \" MB\t\t\" \$11 \" \" \$12}' | sort -n | tail -10"