From owner-freebsd-questions@FreeBSD.ORG Fri Mar 3 13:51:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C62B16A420 for ; Fri, 3 Mar 2006 13:51:25 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 109AB43D45 for ; Fri, 3 Mar 2006 13:51:25 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 6F3F35CB6; Fri, 3 Mar 2006 08:51:24 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08784-04; Fri, 3 Mar 2006 08:51:23 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-83-14.ny325.east.verizon.net [68.161.83.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 893785C27; Fri, 3 Mar 2006 08:51:23 -0500 (EST) Message-ID: <440849E1.2040003@mac.com> Date: Fri, 03 Mar 2006 08:51:29 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "N. Ersen SISECI" References: <1141377091.2228.17.camel@siseci.gdg.gov.tr> In-Reply-To: <1141377091.2228.17.camel@siseci.gdg.gov.tr> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: Calculating of total free memory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Mar 2006 13:51:25 -0000 N. Ersen SISECI wrote: > I want to know REAL free memory size in my system. What I want to know > that is the real free memory size is hw.physmem - Free memory (the one > that is shown at the output of top -b). Various tools such as the one in > freecolor ports in ports tree says it is not like that. It seems that > Free Memory is ( hw.physmem - (Free + Inactv) ) Um, no-- what you've calculated is the amount of memory that's being used. Free in top is the amount of memory that is completely unused and is "free"; (Free + Inactive) is the amount of memory that could become available to a program that needed it, but even that is an oversimplification. -- -Chuck