From owner-freebsd-questions@FreeBSD.ORG Tue Sep 9 05:35:43 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 18C0416A4BF for ; Tue, 9 Sep 2003 05:35:43 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5F8043FFB for ; Tue, 9 Sep 2003 05:35:40 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19whiy-0000Ic-00 for ; Tue, 09 Sep 2003 14:36:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19whix-0000IU-00 for ; Tue, 09 Sep 2003 14:35:59 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19whic-0003Kd-00 for ; Tue, 09 Sep 2003 14:35:38 +0200 From: Jesse Guardiani Date: Tue, 09 Sep 2003 08:35:37 -0400 Organization: WingNET Lines: 24 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: howto calculate free memory from top X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 12:35:43 -0000 Howdy list, I've been wondering about this for a while: How do I calculate the amount of free memory my system has at any given point in time? 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? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net