in reply to Getting Process ID from process name
I don't know about HP UX, but on Linux at least, there's the handy pgrep to do just that.
the lowliest monk