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:
—start—
#!/bin/bash
#
# psgrep – search for a process by pattern.
ps -ef | grep -v grep | grep $1
—end—
Make the script world executable. Now you just have to type ‘psgrep matrix’.