home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6635 < prev    next >
Encoding:
Text File  |  1992-09-01  |  1.4 KB  |  32 lines

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