User and Proc structure in ULTRIX kernel

DDDAVID norris at engcon.marshall.ltv.com
Wed May 30 07:26:34 AEST 1990


I'm having problems understanding how the user structure and
the proc structure in the ULTRIX kernel are associated.  On 
other systems (Convex, Sun),  the proc structure has a pointer
to the user structure and the user structure has a pointer to
the proc struct.  In ULTRIX, the user structure has a pointer
to the proc struct, but not vice-versa.

A particular proc struct is fairly easy to track down in the proc 
table, but in ULTRIX I can't figure out how to find the user
struct associated with this proc struct.  I know this must be
possible, because "ps" and "pstat" uses the user struct to
display the command name, etc.  Anyone that will shed some
light on the subject would be greatly appreciated.

   
David Norris                           engcon!norris at uunet.uu.net
Software Engineer



More information about the Comp.unix.questions mailing list