Hi!
How do I get information about other processes? Unlike linux, there is no
/proc/[pid]/stat file, just a file called “as”.
Any help is appreciated.
TIA,
Marcus
Hi!
How do I get information about other processes? Unlike linux, there is no
/proc/[pid]/stat file, just a file called “as”.
Any help is appreciated.
TIA,
Marcus
Marcus Foerster <marcus.foerster@skywatch.de> wrote:
: Hi!
: How do I get information about other processes? Unlike linux, there is no
: /proc/[pid]/stat file, just a file called “as”.
: Any help is appreciated.
Most of our docs have an online index (the exception is the QNX Neutrino
Library Reference). Look in the Utilities Reference’s index under
processes.
“Steve Reid” <stever@qnx.com> wrote about process status information:
Marcus Foerster <> marcus.foerster@skywatch.de> > wrote:
: How do I get information about other processes? Unlike linux, there is
no
: /proc/[pid]/stat file, just a file called “as”.
Most of our docs have an online index (the exception is the QNX Neutrino
Library Reference). Look in the Utilities Reference’s index under
processes.
Well, I just looked at
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/keywords-P.html
and all I found was a description of pidin and ps. But I need to get process
status info from within my program
Am I just plain dumb, or did I look in the wrong place?
Marcus
Marcus,
install the migration kit with the package manager, then look at
/usr/src/qssl/nto/mig4nto/qnx_psinfo.c
This is a good example.
Markus
“Marcus Foerster” <marcus.foerster@skywatch.de> wrote in message
news:8trvi5$7b8$1@inn.qnx.com…
“Steve Reid” <> stever@qnx.com> > wrote about process status information:
Marcus Foerster <> marcus.foerster@skywatch.de> > wrote:
: How do I get information about other processes? Unlike linux, there is
no
: /proc/[pid]/stat file, just a file called “as”.
Most of our docs have an online index (the exception is the QNX Neutrino
Library Reference). Look in the Utilities Reference’s index under
processes.Well, I just looked at
http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/keywords-P.html
and all I found was a description of pidin and ps. But I need to get
process
status info from within my program >
Am I just plain dumb, or did I look in the wrong place?Marcus
Marcus Foerster <marcus.foerster@skywatch.de> wrote:
: Well, I just looked at
: http://qdn.qnx.com/support/docs/neutrino_qrp/utilities/keywords-P.html
: and all I found was a description of pidin and ps. But I need to get process
: status info from within my program
: Am I just plain dumb, or did I look in the wrong place?
You never said you wanted it from within your program.
The Library Reference includes a summary of the functions by category.
Look under “Process environment” and “Process manipulation” to see if
there are any functions that will give you what you want.
“Markus Loffler” <loffler@ces.clemson.edu> wrote:
Marcus,
install the migration kit with the package manager, then look at/usr/src/qssl/nto/mig4nto/qnx_psinfo.c
This is a good example.
Markus
This is exactly what I was looking for. Thank you very much )
Marcus