pid from process name

Mark Blumhardt blum at drutx.ATT.COM
Sat Jul 15 02:22:25 AEST 1989


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



More information about the Comp.unix.wizards mailing list