I saw this very question about a month ago, but never saw an answer... Given a process name, how can I find its process id? It just isn't obvious to me, other than a system call to grep thru the output of ps, which I don't want to do. Mark