[comp.sys.ibm.pc.rt] How do I get the names of processes?

usenet@cps3xx.UUCP (Usenet file owner) (12/13/88)

Environment: RT Model 135 running AIX 2.2

In order to learn more about the RT and AIX, I have been trying to write
a pseudo-ps. I am at the point where I can find the process table fine
in /dev/kmem. However, the for all the entries for the process'
corresponding ublock, the pointer is the same. That pointer turns out to
be the pointer to the ublock of my process which is accessing the
process table. I realize that u_comm[] in the ublock will give me the
name of the process. How do I find the ublocks which correspond to the
processes in the process table?

John H. Lawitzke      UUCP: ...rutgers!mailrus!frith!fciiho!jhl
Michigan Farm Bureau        ...decvax!purdue!mailrus!frith!fciiho!jhl
Insurance Group             ...uunet!frith!jhl
"What?!? Real computing at an insurance company?!? AND in Michigan!?!"