From owner-freebsd-questions Sun Oct 3 13:56:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from server7.singular.com (server7.singular.com [204.140.208.10]) by hub.freebsd.org (Postfix) with ESMTP id 82D4314E06 for ; Sun, 3 Oct 1999 13:56:52 -0700 (PDT) (envelope-from jbarbee@singular.com) Received: from bleeding-edge (w200.z209220201.lax-ca.dsl.cnc.net [209.220.201.200]) by server7.singular.com (8.8.8/8.8.8) with SMTP id NAA12154 for ; Sun, 3 Oct 1999 13:56:52 -0700 (PDT) (envelope-from jbarbee@singular.com) Message-Id: <4.1.19991003135145.00aa0920@server7.singular.com> X-Sender: jbarbee@server7.singular.com (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sun, 03 Oct 1999 13:57:31 -0700 To: freebsd-questions@freebsd.org From: John Barbee Subject: how much of RSS is shared? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG How do I determine the amount of a process' physical memory is shared? I've seen version of top that have a "Shared" column (might have been on a RH installation). But that is not available in top v3.4 of FreeBSD 3.2 on my machine. ps doesn't seem to give me that option either. vmstat deals with pages, so that doesn't seem to appy to me. I don't want to install X or gnome just so I can look at gtop. So, is there an easy way for me to figure this out? Alternatively, would it be a trivial or non-trivial amount of work to write a small program mysef to get the VSZ, RSS and shared memory? tia john. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message