Xref: utzoo comp.unix.ultrix:3639 comp.unix.wizards:22201 comp.unix.questions:22505 Path: utzoo!yunexus!hydroesm!jtsv16!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!engcon!norris From: norris@engcon.marshall.ltv.com (DDDAVID) Newsgroups: comp.unix.ultrix,comp.unix.wizards,comp.unix.questions Subject: User and Proc structure in ULTRIX kernel Keywords: Ultrix, kernel Message-ID: <829@engcon.marshall.ltv.com> Date: 29 May 90 21:26:34 GMT Article-I.D.: engcon.829 Organization: LTV MEG, Dallas Lines: 18 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@uunet.uu.net Software Engineer