From owner-freebsd-questions Wed Oct 13 8:46: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt011n66.san.rr.com (dt011n66.san.rr.com [204.210.13.102]) by hub.freebsd.org (Postfix) with ESMTP id 6E57314A28 for ; Wed, 13 Oct 1999 08:46:02 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt011n66.san.rr.com (8.9.3/8.8.8) with ESMTP id IAA35699 for ; Wed, 13 Oct 1999 08:46:00 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <3804A938.DD2A64DC@gorean.org> Date: Wed, 13 Oct 1999 08:46:00 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.0-CURRENT-0927 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: How to find text/data/stack size of a running process Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I know this is probably a fairly basic question, but I can't find it anywhere. I need to know the sizes for text, data and stack on some processes that I'm trying to set resource limits on. The memoryuse limit in login.conf is useful, the problem is that these processes are sucking up more virtual memory than they are resident memory, and that's what I need to stop. Pointers to FM's to R are welcome. Thanks, Doug -- "Stop it, I'm gettin' misty." - Mel Gibson as Porter, "Payback" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message