Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!agate!shelby!decwrl!sgi!jmb@patton.sgi.com From: jmb@patton.sgi.com (Jim Barton) Newsgroups: comp.sys.sgi Subject: Re: Virtual Memory (Was: Disappearing debug) Message-ID: <42572@sgi.sgi.com> Date: 5 Oct 89 17:13:15 GMT References: <492@dftsrv.gsfc.nasa.gov> Sender: jmb@patton.sgi.com Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 24 In article <492@dftsrv.gsfc.nasa.gov>, buck@drax.gsfc.nasa.gov (Loren (Buck) Buchanan) writes: > All of this discussion brings back a question I have had for a while, and > that is: > > How do you tell how much virtual (and real) memory a given > process is using? > > B Cing U > > Buck > > Loren "Buck" Buchanan | internet: buck@drax.gsfc.nasa.gov | standard disclaimer > CSC, 1100 West St. | uucp: ...!ames!dftsrv!drax!buck | "By the horns of a > Laurel, MD 20707 | phonenet: (301) 497-2531 or 9898 | sky demon..." The 'ps -l' command shows the process size and resident set size for processes. The man page has all the detail, but please examine the SZ:RSS field. The numbers take the format 'n:m', where 'n' is the virtual size of the process (in pages), and 'm' is the number of pages actually residing in memory. -- Jim Barton Silicon Graphics Computer Systems "UNIX: Live Free Or Die!" jmb@sgi.sgi.com, sgi!jmb@decwrl.dec.com, ...{decwrl,sun}!sgi!jmb