Process ID of a "Stranger"
Doug Gwyn
gwyn at smoke.BRL.MIL
Fri Aug 31 06:51:46 AEST 1990
In article <266 at jabberwock.shs.ohio-state.edu> reiner at jabberwock.shs.ohio-state.edu (Reiner Wilhelms) writes:
-It is rather easy to obtain the process Id of a process via the system
-call getpid(), and of the parent process via getppid().
-However, how can I obtain the process id of a "stranger": some other
-process, running on the same machine, if I just know its name?
Processes do not HAVE names, just PIDs.
I don't know what problem you're trying to solve, but you're going
about it the wrong way.
More information about the Comp.unix.questions
mailing list