home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!umd5!roissy.umd.edu!mark
- From: mark@roissy.umd.edu (Mark Sienkiewicz)
- Newsgroups: comp.sys.hp
- Subject: Re: Process memory usage
- Message-ID: <17610@umd5.umd.edu>
- Date: 17 Dec 92 19:38:19 GMT
- References: <morgaine.724087654@siap.sublink.org> <FRANL.92Dec15151723@draco.centerline.com>
- Sender: news@umd5.umd.edu
- Organization: University of Maryland
- Lines: 18
-
- In article <FRANL.92Dec15151723@draco.centerline.com> franl@centerline.com (Fran Litterio) writes:
- >>
- >> my memory. I need a way to find how much (virtual) memory is
- >> available and the amount of memory of each process.
- >
- >You want a combination of "/etc/swapinfo -t" (to get total available
- >swap space) and "ps -el" (the SZ column shows process memory usage in
- >4096-byte blocks -- including the text segment which SunOS does _not_
- >count in the SZ column of its "ps -l" output).
-
- The ps man page says:
-
- SZ (l) The size in blocks of the core image of the process.
-
- Does this mean the number of pages allocated to the process or does this
- mean the number of pages the process has _in_core_? Is there also a way
- to find out the other one?
-
-