Search for process names using grep
pgrep -u user -l
pgrep -f shell.sh
Requires a field argument.
pgrep -f shell.sh -a
pgrep -l sshd
Useful for cron jobs:
pgrep -u clients -x rdiff-backup -c