From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 09:55:42 2003 Return-Path: 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 354E716A4C0 for ; Tue, 9 Sep 2003 09:55:42 -0700 (PDT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25FA943FF9 for ; Tue, 9 Sep 2003 09:55:41 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h89Gte5u020089; Tue, 9 Sep 2003 09:55:40 -0700 (PDT) Received: from mac.com ([66.234.138.82]) (authenticated bits=0) by mac.com (Xserve/8.12.9/MantshX 2.0) with ESMTP id h89Gtclc004136; Tue, 9 Sep 2003 09:55:39 -0700 (PDT) Date: Tue, 9 Sep 2003 13:01:06 -0400 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: jesse@wingnet.net From: Charles Swiger In-Reply-To: Message-Id: <33CC6198-E2E7-11D7-A4CA-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: questions@freebsd.org Subject: Re: howto calculate free memory from top X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 16:55:42 -0000 On Tuesday, September 9, 2003, at 08:35 AM, Jesse Guardiani wrote: > How do I calculate the amount of free memory my system > has at any given point in time? What do you mean by "free memory"? > My top usually looks like this: > > Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free > Swap: 2048M Total, 5448K Used, 2043M Free > > I understand the "70M Free" part, but should I add "668M Inact" to > that? Or is it more complicated? It's more complicated. The "inactive" memory refers to pages that have been used (but not recently), and thus are candidates for being replaced by more active pages, if the system has enough activity to want such pages for other tasks. -- -Chuck