Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 May 1996 18:59:11 +0200 (MET DST)
From:      Wilko Bulte <wilko@yedi.iaf.nl>
To:        toor@dyson.iquest.net (John S. Dyson)
Cc:        terry@lambert.org, FreeBSD-hackers@FreeBSD.org
Subject:   Re: used to think I understood ps ..
Message-ID:  <199605041659.SAA12559@yedi.iaf.nl>
In-Reply-To: <199605041603.LAA00602@dyson.iquest.net> from "John S. Dyson" at May 4, 96 11:03:30 am

next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm not sure I understand your point. Considering:
> > 
> > # size libc.so.2.1
> > text    data    bss     dec     hex
> > 339968  16384   48004   404356  62b84
> > 
> > I'd assume a worst case program would need all of libc. The approx
> > 7.5Mb RSS seems quite steep (to say the least). 
> > 
> cmp works by mmaping in the two files.  Mmaped regions are not included
> in the VSZ calculations.  Only .text+.data+.bss are included.  RSS includes
> everything that is mapped, including .text+.data+.bss and other mmaps like
> shared libs and mapped files.
> 
> John

Aha! This explains the big difference.

Thanks for your help

Wilko
_     __________________________________________________________________________
 |   / o / /  _   Wilko Bulte             email: wilko@yedi.iaf.nl
 |/|/ / / /( (_)  Private FreeBSD site  - Arnhem - The Netherlands
--------------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605041659.SAA12559>