home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aix / 12853 < prev    next >
Encoding:
Text File  |  1992-12-26  |  2.2 KB  |  58 lines

  1. Path: sparky!uunet!olivea!inews.Intel.COM!inews!esulzner
  2. From: esulzner@cadev5.intel.com (Eric Sulzner)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Where has all my memory gone?
  5. Message-ID: <ESULZNER.92Dec26145005@cadev5.intel.com>
  6. Date: 26 Dec 92 22:50:05 GMT
  7. References: <1hikh3INNn5g@crcnis1.unl.edu>
  8. Sender: news@inews.Intel.COM (USENET News System)
  9. Organization: Design Technology, INTeL Corporation, Santa Clara, CA
  10. Lines: 44
  11. In-Reply-To: james@engrs.unl.edu's message of 26 Dec 92 21:57:55 GMT
  12. Nntp-Posting-Host: cadev5
  13.  
  14. It gets used for I/O paging.
  15. And it never gets put back on the free list.
  16. But it's still available to apps that ask for it.
  17.  
  18. adding RSS in ps output is the only way I've found.  It's not perfect,
  19. but it gets pretty close.  IBM couldn't come up with a better way (I
  20. asked).
  21.  
  22. you might want to alias
  23. ps aux | sed 1d | awk '{sum += $6} \
  24. END    {print sum}
  25. (or something like that, I'm not at work) to something, or put it in a script.
  26.  
  27. In article <1hikh3INNn5g@crcnis1.unl.edu> james@engrs.unl.edu (James Nau) writes:
  28.  
  29.    Does anyone know a way to tell exactly where all one's memory
  30.    is being used at?  I've got two 520's running 3.2.1 which have
  31.    been up and running since July 9.  That's fine, but I think
  32.    I'm slowly loosing memory (I mean on the RSs :)  Both 'lsps -a'
  33.    and monitor seem to agree that I've got 60MB of paging, and about
  34.    52MB used leaving 8 or so free.  I would normally not argue, but
  35.    running with 8MB free is getting awfully tight.  So, I add up
  36.    the outputs of size from 'ps aux', 'ps -kel'.  They seem to both
  37.    add up to around 32 MB in use.  So, where is the other 20MB
  38.    of virtual memory?  It sure would be nice to have it back :)  This
  39.    is even after running slibclean.  What I want, is a way to find
  40.    out who/what is using that 20MB of memory.  If something is using
  41.    it productively,  that's OK, but I still want to know where it is!
  42.  
  43.    I could probably cure all this by rebooting, but, I usually view
  44.    that as the last response on the two servers.  Besides, as they
  45.    say "I shouldn't HAVE to do that".
  46.  
  47.    Thanks!
  48.    James
  49.  
  50.    james@engrs.unl.edu
  51.  
  52.    College of Engineering
  53.    University of Nebraska--Lincoln
  54.    W181 Nebraska Hall
  55.    Lincoln, NE  68588-0501
  56. --
  57. Eric Sulzner    esulzner@scdt.intel.com
  58.