From owner-freebsd-hackers Sat May 4 09:04:27 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA13017 for hackers-outgoing; Sat, 4 May 1996 09:04:27 -0700 (PDT) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id JAA13009 for ; Sat, 4 May 1996 09:04:23 -0700 (PDT) Received: (from root@localhost) by dyson.iquest.net (8.7.5/8.6.9) id LAA00602; Sat, 4 May 1996 11:03:30 -0500 (EST) From: "John S. Dyson" Message-Id: <199605041603.LAA00602@dyson.iquest.net> Subject: Re: used to think I understood ps .. To: wilko@yedi.iaf.nl (Wilko Bulte) Date: Sat, 4 May 1996 11:03:30 -0500 (EST) Cc: terry@lambert.org, FreeBSD-hackers@FreeBSD.org In-Reply-To: <199605032108.XAA03044@yedi.iaf.nl> from "Wilko Bulte" at May 3, 96 11:08:39 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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