*BSD News Article 58290


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!blackbush.xlink.net!news.dfn.de!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.1.0 uses lots of swap space
Date: 6 Jan 1996 19:11:20 GMT
Organization: Private BSD site, Dresden
Lines: 24
Message-ID: <4cmhgo$eli@uriah.heep.sax.de>
References: <87ybrnp2yy.fsf@compi.hobby.nl>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

plm@compi.hobby.nl (Peter Mutsaers) writes:

> At the moment pstat -s reports that 15M swap space is in use. I have
> 16MB RAM, of which I estimate at least 14MB to be available. Top
> reports that only 256KB RAM is free, so the total
> amount of virtual memory used is 29MB.
> 
> Now when I add all VSZ's from ps -aux:
> 
> ps -aux | awk '{s+=$5}  END {print s}'
> 
> It shows that only 20.8M is used.
> 
> Where is the remaining 8MB gone to?

I think it accounts for shared libraries, which are not shown in the
ps display.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)