Thread View: comp.sys.ibm.pc.rt
1 messages
1 total messages
Started by Usenet file owner
Mon, 12 Dec 1988 17:56
How do I get the names of processes?
Author: Usenet file owner
Date: Mon, 12 Dec 1988 17:56
Date: Mon, 12 Dec 1988 17:56
15 lines
1247 bytes
1247 bytes
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!?!"
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads