home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- 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
- From: scott@austin.ibm.com ()
- Subject: Re: Where has all my memory gone?
- Originator: scott@porter.austin.ibm.com
- Sender: news@austin.ibm.com (News id)
- Message-ID: <C0E0JF.vq5@austin.ibm.com>
- Date: Tue, 5 Jan 1993 15:33:14 GMT
- References: <1hikh3INNn5g@crcnis1.unl.edu> <ESULZNER.92Dec26145005@cadev5.intel.com>
- Organization: IBM Austin
- Lines: 65
-
-
- In article <ESULZNER.92Dec26145005@cadev5.intel.com>, esulzner@cadev5.intel.com (Eric Sulzner) writes:
- > It gets used for I/O paging.
- > And it never gets put back on the free list.
- > But it's still available to apps that ask for it.
-
- This information is misleading at best.
-
- >
- > adding RSS in ps output is the only way I've found. It's not perfect,
- > but it gets pretty close. IBM couldn't come up with a better way (I
- > asked).
-
- The RSS information displayed by the 'ps' command is the sum of the resident
- pages in the process private segment (data, stack) and the pages in the process
- text segment (executable). The pages in the text segment never require paging
- space and so the RSS information does not tell you where all the paging space is
- being utilized.
-
- The 'ps' command only reports paging space utilized by processes. Other uses
- of paging space include the kernel, kernel extensions, shared libraries and
- shared memory segments. If you can get your hands on the performance tool
- called 'svmon' it provides a detailed report of paging space usage that includes
- all of these.
-
- >
- > you might want to alias
- > ps aux | sed 1d | awk '{sum += $6} \
- > END {print sum}
- > (or something like that, I'm not at work) to something, or put it in a script.
- >
- > In article <1hikh3INNn5g@crcnis1.unl.edu> james@engrs.unl.edu (James Nau) writes:
- >
- > Does anyone know a way to tell exactly where all one's memory
- > is being used at? I've got two 520's running 3.2.1 which have
- > been up and running since July 9. That's fine, but I think
- > I'm slowly loosing memory (I mean on the RSs :) Both 'lsps -a'
- > and monitor seem to agree that I've got 60MB of paging, and about
- > 52MB used leaving 8 or so free. I would normally not argue, but
- > running with 8MB free is getting awfully tight. So, I add up
- > the outputs of size from 'ps aux', 'ps -kel'. They seem to both
- > add up to around 32 MB in use. So, where is the other 20MB
- > of virtual memory? It sure would be nice to have it back :) This
- > is even after running slibclean. What I want, is a way to find
- > out who/what is using that 20MB of memory. If something is using
- > it productively, that's OK, but I still want to know where it is!
- >
- > I could probably cure all this by rebooting, but, I usually view
- > that as the last response on the two servers. Besides, as they
- > say "I shouldn't HAVE to do that".
- >
- > Thanks!
- > James
- >
- > james@engrs.unl.edu
- >
- > College of Engineering
- > University of Nebraska--Lincoln
- > W181 Nebraska Hall
- > Lincoln, NE 68588-0501
- > --
- > Eric Sulzner esulzner@scdt.intel.com
- --
- Scott L. Porter IBM AWS Austin / AIX Kernel Development
- Internet: scott@austin.ibm.com
-