Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site abspc.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!pyramid!hplabs!oliveb!felix!abspc!mb From: mb@abspc.UUCP (Michael E. Burg) Newsgroups: net.unix-wizards Subject: Reading user structure from /dev/swap on 3B2 Message-ID: <207@abspc.UUCP> Date: Tue, 18-Mar-86 17:52:17 EST Article-I.D.: abspc.207 Posted: Tue Mar 18 17:52:17 1986 Date-Received: Sat, 22-Mar-86 04:42:20 EST Distribution: net Organization: Athena Business Systems, Los Alamitos Lines: 13 Hi! I'm having problems trying to find how to read the user block of a process when it's swapped to /dev/swap. I've tried using proc.p_swaddr (Swap Address) and have try the following address in swap - ctod(proc.p_swaddr)*BSIZE (BSIZE = 512) ctod(proc.p_swaddr)*1024 ctob(proc.p_swaddr)*BSIZE ctob(proc.p_swaddr)*1024 ctob(proc.p_swaddr) ctod(proc.p_swaddr) All the above produce junk. Any System V R2V2 experts have any ideas?