XENIX/V7 proc query -- add sys3 on a similar topic
Brandon Allbery
bsa at ncoast.UUCP
Thu May 9 11:36:06 AEST 1985
Expires:
I have a similar question. I have a hopmebrew program for V7/XENIX and System
III that is supposed to look like the Berkeley `w' program, plus a few bells
and whistles. But I have yet to figure out how to translate a p.p_addr for
a swapped process on *either* system into an offset in swapdev. My first try
was
lseek(swapdev, (long)((p.p_addr+swplo)*BSIZE),0);
and I've tried it without the swplo, without the BSIZE, with some miscellaneous
shifts, etc. Can someone tell me how to read the swapped image of a process
under either system? (My guess is that once I find the one, I'll have the
other.)
Thanks in advance...
--bsa
--
Brandon Allbery, Unix Consultant -- 6504 Chestnut Road, Independence, OH 44131
decvax!cwruecmp!ncoast!bsa; ncoast!bsa at case.csnet; +1 216 524 1416; 74106,1032
More information about the Comp.unix.wizards
mailing list