getting number of attached proxies for a process

Hi,

I need to obtain pid, state, priority and number of attached proxies for
a process with given name. I do qnx_name_locate() and then qnx_psinfo()
and get pid, priority and state. How can I get number of attached proxies?
I see nothing simular to number of proxies in psinfo structure… Please
help!

Thanks,
Altair

You need to iterate through all of the psinfo structs, determine which
process entries are really proxies, and determine which of those will
trigger the process your interested in.

I had a utility that did something like this, but I can’t find the source
just yet. If I find it I’ll post it.

“Altair” <altair@ua.fm> wrote in message news:ao1enl$b8t$1@inn.qnx.com

Hi,

I need to obtain pid, state, priority and number of attached proxies for
a process with given name. I do qnx_name_locate() and then qnx_psinfo()
and get pid, priority and state. How can I get number of attached proxies?
I see nothing simular to number of proxies in psinfo structure… Please
help!

Thanks,
Altair