From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 18:44:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E981106566C for ; Wed, 17 Mar 2010 18:44:36 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 606F38FC13 for ; Wed, 17 Mar 2010 18:44:36 +0000 (UTC) Received: by pxi12 with SMTP id 12so1048705pxi.14 for ; Wed, 17 Mar 2010 11:44:35 -0700 (PDT) Received: by 10.143.153.22 with SMTP id f22mr724753wfo.126.1268851475725; Wed, 17 Mar 2010 11:44:35 -0700 (PDT) Received: from papi.localnet ([189.70.193.124]) by mx.google.com with ESMTPS id 33sm57327423vws.10.2010.03.17.11.44.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 11:44:34 -0700 (PDT) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Wed, 17 Mar 2010 15:46:00 +0000 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.5; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201003171546.00190.lobo@bsd.com.br> Subject: Measuring 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: Wed, 17 Mar 2010 18:44:36 -0000 Hi to all; I am trying to get the most precise reading I can of all free memory (8- STABLE). I am using /usr/bin/vmstat | grep -a 2 | awk '{print $5}' But I'm not sure if this reflects ALL free memory. Would anyone have a more precise place to read free memory from? Thanks -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE)