Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!clyde!cbatt!cwruecmp!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon S. Allbery) Newsgroups: comp.unix.wizards Subject: STILL looking for swapped processes under System III Message-ID: <2417@ncoast.UUCP> Date: Sat, 25-Apr-87 20:48:56 EDT Article-I.D.: ncoast.2417 Posted: Sat Apr 25 20:48:56 1987 Date-Received: Wed, 29-Apr-87 07:02:43 EDT Reply-To: allbery@ncoast.UUCP (Brandon S. Allbery) Distribution: na Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 24 Well, after two years I'm still trying to find out how to read the ublock of a swapped process under System III. I've managed to get this information for System V and now have some useful programs of a Berzerk orientation (like w; I also have a status line that's NOT sysline but IS quite useful [not to deride sysline, I've never seen it, but with csl I have everything I need]). However, System III doesn't use the same process table as System V, so all my work is pretty much useless on ncoast. I therefore ask again: Given a process table entry for System III of a swapped process, how do I find the address in /dev/swap of that process's ublock? I know the answer for System V, but it involves p_swaddr and p_swsize which aren't in the System III proc structure. I've compared the p_addr of a swapped process to the ADDR printed by ps -el, and they're related but I can't get ps's number from p_addr. HELP!!!!! ++Brando -- Brandon S. Allbery {decvax,cbatt,cbosgd}!cwruecmp!ncoast!allbery Tridelta Industries {ames,mit-eddie,talcott}!necntc!ncoast!allbery 7350 Corporate Blvd. necntc!ncoast!allbery@harvard.HARVARD.EDU Mentor, OH 44060 +01 216 255 1080