From owner-freebsd-hackers Sat May 4 17:13:41 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA19390 for hackers-outgoing; Sat, 4 May 1996 17:13:41 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA19371 for ; Sat, 4 May 1996 17:13:37 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id CAA19615; Sun, 5 May 1996 02:14:40 +0200 Received: by uni4nn.iaf.nl with UUCP id AA02661 (5.67b/IDA-1.5); Sun, 5 May 1996 02:14:08 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA07696 (5.67b/IDA-1.5); Sun, 5 May 1996 01:14:53 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id SAA12559; Sat, 4 May 1996 18:59:11 +0200 From: Wilko Bulte Message-Id: <199605041659.SAA12559@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: used to think I understood ps .. To: toor@dyson.iquest.net (John S. Dyson) Date: Sat, 4 May 1996 18:59:11 +0200 (MET DST) Cc: terry@lambert.org, FreeBSD-hackers@FreeBSD.org In-Reply-To: <199605041603.LAA00602@dyson.iquest.net> from "John S. Dyson" at May 4, 96 11:03:30 am X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > > 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 --------------------------------------------------------------------------------