home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13004 < prev    next >
Encoding:
Text File  |  1993-01-05  |  3.2 KB  |  78 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!geraldo.cc.utexas.edu!portal.austin.ibm.com!awdprime.austin.ibm.com!scott
  3. From: scott@austin.ibm.com ()
  4. Subject: Re: Where has all my memory gone?
  5. Originator: scott@porter.austin.ibm.com
  6. Sender: news@austin.ibm.com (News id)
  7. Message-ID: <C0E0JF.vq5@austin.ibm.com>
  8. Date: Tue, 5 Jan 1993 15:33:14 GMT
  9. References: <1hikh3INNn5g@crcnis1.unl.edu> <ESULZNER.92Dec26145005@cadev5.intel.com>
  10. Organization: IBM Austin
  11. Lines: 65
  12.  
  13.  
  14. In article <ESULZNER.92Dec26145005@cadev5.intel.com>, esulzner@cadev5.intel.com (Eric Sulzner) writes:
  15. > It gets used for I/O paging.
  16. > And it never gets put back on the free list.
  17. > But it's still available to apps that ask for it.
  18.  
  19. This information is misleading at best.
  20.  
  21. > adding RSS in ps output is the only way I've found.  It's not perfect,
  22. > but it gets pretty close.  IBM couldn't come up with a better way (I
  23. > asked).
  24.  
  25. The RSS information displayed by the 'ps' command is the sum of the resident
  26. pages in the process private segment (data, stack) and the pages in the process
  27. text segment (executable).  The pages in the text segment never require paging
  28. space and so the RSS information does not tell you where all the paging space is
  29. being utilized.
  30.  
  31. The 'ps' command only reports paging space utilized by processes.  Other uses
  32. of paging space include the kernel, kernel extensions, shared libraries and
  33. shared memory segments.  If you can get your hands on the performance tool
  34. called 'svmon' it provides a detailed report of paging space usage that includes
  35. all of these.
  36.  
  37. > you might want to alias
  38. > ps aux | sed 1d | awk '{sum += $6} \
  39. > END    {print sum}
  40. > (or something like that, I'm not at work) to something, or put it in a script.
  41. > In article <1hikh3INNn5g@crcnis1.unl.edu> james@engrs.unl.edu (James Nau) writes:
  42. >    Does anyone know a way to tell exactly where all one's memory
  43. >    is being used at?  I've got two 520's running 3.2.1 which have
  44. >    been up and running since July 9.  That's fine, but I think
  45. >    I'm slowly loosing memory (I mean on the RSs :)  Both 'lsps -a'
  46. >    and monitor seem to agree that I've got 60MB of paging, and about
  47. >    52MB used leaving 8 or so free.  I would normally not argue, but
  48. >    running with 8MB free is getting awfully tight.  So, I add up
  49. >    the outputs of size from 'ps aux', 'ps -kel'.  They seem to both
  50. >    add up to around 32 MB in use.  So, where is the other 20MB
  51. >    of virtual memory?  It sure would be nice to have it back :)  This
  52. >    is even after running slibclean.  What I want, is a way to find
  53. >    out who/what is using that 20MB of memory.  If something is using
  54. >    it productively,  that's OK, but I still want to know where it is!
  55. >    I could probably cure all this by rebooting, but, I usually view
  56. >    that as the last response on the two servers.  Besides, as they
  57. >    say "I shouldn't HAVE to do that".
  58. >    Thanks!
  59. >    James
  60. >    james@engrs.unl.edu
  61. >    College of Engineering
  62. >    University of Nebraska--Lincoln
  63. >    W181 Nebraska Hall
  64. >    Lincoln, NE  68588-0501
  65. > --
  66. > Eric Sulzner    esulzner@scdt.intel.com
  67. -- 
  68. Scott L. Porter                    IBM AWS Austin / AIX Kernel Development
  69.                                    Internet: scott@austin.ibm.com
  70.