Pl HELP!!! how to obtain pid of processes

what’s the equivalent of the shell function ‘sin’ that I can use in my code
to know what processes are running, and
get their PID? the PID i need to obtain is inetd (i started this in my
sysinit.1) and phrelay (started when phindow or jump gate started) pl
help!!!

ran zhang <rzhang@vamcointernational.com> wrote:

what’s the equivalent of the shell function ‘sin’ that I can use in my code
to know what processes are running, and
get their PID? the PID i need to obtain is inetd (i started this in my
sysinit.1) and phrelay (started when phindow or jump gate started) pl
help!!!

Have a look at the pidin source source posted on our public cvs
server:

http://cvs.qnx.com/cgi-bin/cvsweb.cgi/utils/p/pidin/

Regards,
GP