From owner-freebsd-questions Wed Jan 2 11:28:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by hub.freebsd.org (Postfix) with ESMTP id 7DB9837B41C for ; Wed, 2 Jan 2002 11:28:30 -0800 (PST) Received: from rios.sitaranetworks.com (rios.sitaranetworks.com [199.103.141.78]) by apollo.sitaranetworks.com (8.10.2+Sun/8.9.3) with ESMTP id g02JSTY06265 for ; Wed, 2 Jan 2002 14:28:29 -0500 (EST) Received: by rios.sitaranetworks.com with Internet Mail Service (5.5.2653.19) id ; Wed, 2 Jan 2002 14:28:26 -0500 Message-ID: <31269226357BD211979E00A0C9866DAB02BB9777@rios.sitaranetworks.com> From: Chris Ptacek To: "'freebsd-questions@FreeBSD.org'" Subject: Retrieving Kernel and User space Memory Usage Date: Wed, 2 Jan 2002 14:28:25 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to characterize the impacts of some programs that I have been working on. One of the things that I would like to know is the amount of kernel memory and the amount of user space memory in use. With this information I can run a baseline and then determine how I have effected the system and also make some hardware estimations. What I would like to know is there an easy way to retrieve (sysctl prefered) this memory information? Also getting information on virtual memory would be nice. Basically, assuming they are available, which sysctl variables should I be looking at? Thanks Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message