Post subject: getting process information Posted: May 19, 2006 - 03:57 PM
Guest
Hi
Please excuse me. I post it before completion. So ones more:
I'm porting program orginaly developed for qnx4. One of it's purpose is to
watch porcesses
and if some process is enormously consuming cpu, memory or open too many
file descriptors it is restarted.
For this purpose it use functions: qnx_psinfo (process information) and
qnx_fd_query (file descriptors information)
I'm searching whole day for equivalents of these functions in Qnx 6 but
with no success.
Thank you for help.
Post subject: Re: getting process information Posted: May 24, 2006 - 01:44 AM
Guest
Look at procfs and associated header files. Also you might want to look at
source code of "spin" utility. It should be on the '3rd party CD'...
"Peter Facka" <pfacka@microsetep-hdo.sk> wrote in message
news:op.s9s2lsh1byo5le@ot2pf.microstep-hdo.sk...
Hi
Please excuse me. I post it before completion. So ones more:
I'm porting program orginaly developed for qnx4. One of it's purpose is to
watch porcesses
and if some process is enormously consuming cpu, memory or open too many
file descriptors it is restarted.
For this purpose it use functions: qnx_psinfo (process information) and
qnx_fd_query (file descriptors information)
I'm searching whole day for equivalents of these functions in Qnx 6 but
with no success.
Thank you for help.
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters. Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.