ps aux | grep [NameOfSomeProgramRunning]
I do believe it is. At least... it works for me. Shell scripting has helped me out on numerous occations over the years. When you need that quick and dirty to do a task or when you need to repeate a small task over and over again. Shell scripting is a very useful tool to have in your tool box.
You don't need to be in the unix world for very long before you start writing commands like...
can't use an alias for that. Soooo, write a small script. Stick it in your library and use it when you need it.