Have you tried piping the output of ps to grep? It would be like this:
Code:
ps -ef | grep <appname>
"ps -a" would certainly not show all processes, but ps -ef would - although some might be off the screen as ps doesn't wrap (unless you were to pipe it through less or something, like "ps -ef | less")