Process Information

Hello,

I was wondering how to find out the process information from source. I open
dir /proc, list files, stat /proc/xxx/as, get process information. But how
to find out the name of the executable which the process represents ??? For
ex. 345544 io-net …


Thanks in advance.

P.S. Under QNX RTP 6.X?

Arunas

“Arunas Bytautas” <arubyt@elsis.com> wrote in message
news:9uqgp5$hpv$1@inn.qnx.com

I was wondering how to find out the process information from source. I
open
dir /proc, list files, stat /proc/xxx/as, get process information. But how
to find out the name of the executable which the process represents ???
For
ex. 345544 io-net …

Take a look at the source for pidin on cvs. That should get you exactly
what you want
(cvs.qnx.com)

-Adam