Xref: utzoo comp.unix.questions:10492 comp.unix.wizards:13148 comp.sys.nsc.32k:589
Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!tut.cis.ohio-state.edu!unmvax!ncar!boulder!fesk!sverre
From: sverre@fesk.UUCP (Sverre Froyen)
Newsgroups: comp.unix.questions,comp.unix.wizards,comp.sys.nsc.32k
Subject: How do you find the user structure?
Keywords: ps w kernel
Message-ID: <214@fesk.UUCP>
Date: 4 Dec 88 03:15:47 GMT
Organization: SERI, Golden, CO
Lines: 19

I have tried to get Brandon's sysV version of w to work on my
National Semiconductor ICM3216 running SysV.2.2.  This is a
demand paged system and, as Brandon points out in the documentation,
w is unable to locate the user structure.  I have looked through
the system documentation and various include files but I am unable
to find the solution (I have no source).  I suspect I must start
with the value of p_addr in the proc table, which is a short integer,
(this entry is replaced by page tables for the user block in SysV.3)
and then go through some of the macros for the page tables.
Unfortunately, guesswork won't cut it and I was hoping somebody
on the net possesses some hard information.

Thanks,
Sverre
-- 
Sverre Froyen
UUCP:   boulder!fesk!sverre, sunpeaks!seri!fesk!sverre
ARPA:   froyen@nmfecc.arpa
BITNET: froyen@csugold.bitnet