home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!wupost!psuvax1!leps5.phys.psu.edu!kenh
- From: kenh@leps5.phys.psu.edu (Ken Hornstein)
- Subject: What happened to p_swaddr?
- Message-ID: <BtxI6v.3CG@cs.psu.edu>
- Sender: news@cs.psu.edu (Usenet)
- Nntp-Posting-Host: leps5.phys.psu.edu
- Organization: Penn State, Laboratory for Elementary Particle Science
- Date: Wed, 2 Sep 1992 02:13:42 GMT
- Lines: 20
-
- Lately I've been trying to compile sps, top, ofiles, lsof .... with very little
- success on our Ultrix 4.0 system. I run into problems with the proc struct
- defined in sys/proc.h. The p_flag member is broken up, but that's pretty easy
- to fix. What has me stumped is the p_swaddr member. After reading up on the
- BSD kernel, p_swaddr is said to be the address of the user area in the swap.
-
- The following comments are from sys/proc.h:
-
- * 12 Jun 80 -- gg
- * added 4 new fields p_dmap,p_cdmap, p_smap,p_csmap for dynamic swap.
- * removed p_swaddr from proc structure.
-
- (Judging from the other comments, I suspect the "80" should be "89"). So,
- after reading these comments, I assumed that one of the other fields replaced
- the functionality of p_swaddr. But as far as I can see, none of the other
- new entries seems to correspond to p_swaddr. Admittedly, I am not very
- knowledgable about Unix internals. Does anyone know how to get p_swaddr, or
- better yet, get the user area of a process while it is in swap?
-
- --Ken
-