[ECOS] Kernel API for PS application?
jyl087@netscape.net
jyl087@netscape.net
Wed Sep 4 09:26:00 GMT 2002
I'd like to write a simple "ps" (process status) type
application which will allow me to dump thread info
to the console at will, without firing up GDB. This
info would include thread status (e.g. SLEEPING, RUNNING...)
stack address, etc...
Has anyone done this before (and be willing to share the
source?) If not, what's the best place to go looking for
the proper hooks into the kernel for this info? Eventually,
I'd like to do a "top" kind of routine also, which will
show CPU utilization... but that'll be for another day...
/Jim
__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp
Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list