From owner-freebsd-questions Thu Nov 2 19:36:49 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id TAA08140 for questions-outgoing; Thu, 2 Nov 1995 19:36:49 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id TAA08129 for ; Thu, 2 Nov 1995 19:36:42 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id TAA03433; Thu, 2 Nov 1995 19:36:41 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id TAA02964; Thu, 2 Nov 1995 19:31:51 -0800 Message-Id: <199511030331.TAA02964@corbin.Root.COM> To: pgf@american.com cc: freebsd-questions@freebsd.org Subject: Re: what's counted in RSS and VSZ? In-reply-to: Your message of "Thu, 02 Nov 95 22:24:48 EST." <199511030324.WAA05749@mozart.american.com> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 02 Nov 1995 19:31:51 -0800 Sender: owner-questions@freebsd.org Precedence: bulk > - how can RSS ever be bigger than VSZ? Except for the program binary itself, the VSZ doesn't include mapped files. Shared libraries are mapped files. I thought about "fixing" this, but it is very complicated and probably has too much associated overhead. I may still try to fix it for a future release of FreeBSD. > - why are the VSZ numbers for the two different builds different? In the shared case, the VSZ doesn't include the code in the shared libraries. In the non-shared case it does. > - where would this be documented, if indeed it is documented at > all? (i'm not complaining if it isn't -- i'm mainly curious > about where to look for this kind of info.) It should be documented in the ps manual page, but the information may very well be incomplete or wrong. -DG