From: Guy Hammer
Here is a script to save a bunch of keystrokes. Make a file /usr/local/bin/psgrep . Paste the following into it:
# psgrep – search for a process by pattern.
ps -ef | grep -v grep | grep $1
Make the script world executable. Now you just have to type ‘psgrep matrix’.