🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.rt
Article #1499

How do I get the names of processes?

#1499
From: Usenet file owner
Date: Mon, 12 Dec 1988 17:56
15 lines
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!?!"
Technical Details
Message-ID: <1294@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!eecae!cps3xx!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!eecae!cps3xx!usenet
From: usenet@cps3xx.UUCP (Usenet file owner)
Newsgroups: comp.sys.ibm.pc.rt
Subject: How do I get the names of processes?
Message-ID: <1294@cps3xx.UUCP>
Date: 12 Dec 88 17:56:42 GMT
Reply-To: jhl@frith.egr.msu.edu ()
Distribution: na
Organization: Michigan State University, Engineering, E. Lansing
Lines: 15