home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 14189 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.1 KB

  1. Path: sparky!uunet!haven.umd.edu!umd5!roissy.umd.edu!mark
  2. From: mark@roissy.umd.edu (Mark Sienkiewicz)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Process memory usage
  5. Message-ID: <17610@umd5.umd.edu>
  6. Date: 17 Dec 92 19:38:19 GMT
  7. References: <morgaine.724087654@siap.sublink.org> <FRANL.92Dec15151723@draco.centerline.com>
  8. Sender: news@umd5.umd.edu
  9. Organization: University of Maryland
  10. Lines: 18
  11.  
  12. In article <FRANL.92Dec15151723@draco.centerline.com> franl@centerline.com (Fran Litterio) writes:
  13. >>
  14. >> my memory. I need a way to find how much (virtual) memory is
  15. >> available and the amount of memory of each process.
  16. >
  17. >You want a combination of "/etc/swapinfo -t" (to get total available
  18. >swap space) and "ps -el" (the SZ column shows process memory usage in
  19. >4096-byte blocks -- including the text segment which SunOS does _not_
  20. >count in the SZ column of its "ps -l" output).
  21.  
  22. The ps man page says:
  23.  
  24.       SZ    (l)       The size in blocks of the core image of the process.
  25.  
  26. Does this mean the number of pages allocated to the process or does this
  27. mean the number of pages the process has _in_core_?  Is there also a way
  28. to find out the other one?
  29.  
  30.