From owner-freebsd-hackers Mon Jul 7 11:15:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA28171 for hackers-outgoing; Mon, 7 Jul 1997 11:15:11 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id LAA28162 for ; Mon, 7 Jul 1997 11:15:06 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id LAA18043; Mon, 7 Jul 1997 11:10:17 -0700 From: Terry Lambert Message-Id: <199707071810.LAA18043@phaeton.artisoft.com> Subject: Re: figuring out size of unshared pages for a process To: marcs@znep.com (Marc Slemko) Date: Mon, 7 Jul 1997 11:10:17 -0700 (MST) Cc: hackers@FreeBSD.ORG In-Reply-To: from "Marc Slemko" at Jul 6, 97 10:07:33 pm X-Mailer: ELM [version 2.4 PL24] 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 have a large number of the same process (Apache) running. I want to > figure out how much each process takes, ignoring all shared pages. > > I don't see any option to ps to give me what I want. Am I missing > something? man ps and look at "-o" and "-O". I believe you can get the information you want by taking out the test size from the vsize. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.