From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 20:31:06 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 6D46A106567D for ; Wed, 17 Mar 2010 20:31:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 41E458FC13 for ; Wed, 17 Mar 2010 20:31:06 +0000 (UTC) Received: by pwj4 with SMTP id 4so1232367pwj.13 for ; Wed, 17 Mar 2010 13:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=PGGe7cJzkXxSFZ+NSwhFgaq9IiV7NIpEF8yU9StcY7o=; b=YyrBlqK+G7gR9hWz9lY4uq3W9bXBeiTjOGnVRxN2+6LoGoRDHtQDXvVitQiNV0R0tg woQuWOw4+xtel5Ow76Rs8Bt86lU/iXJXEF+wdeuMFh1O4R32t1Pq0un7ABInnUinudOC ilhdkdAYstGamv7zr38aPO/qMmP0TIEgF56BU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=M0n1F1Rs1/B7G1VeoyYjTGU47+XIfxPB07lHapBTMTtaU1mit8Qvh74KTXRiQiMU36 RQQwUKQR0B9vEMKMuAt723zjNLhSZsRboemhAWLP61dl0ZrZ6we8SCfacT029Zh/pXay +iSAlJTVPmt/JeTI5Jl0FUe8WqrhLBXMPIgpc= MIME-Version: 1.0 Received: by 10.142.152.8 with SMTP id z8mr806170wfd.230.1268857865067; Wed, 17 Mar 2010 13:31:05 -0700 (PDT) In-Reply-To: <201003171625.56749.lobo@bsd.com.br> References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> <201003171625.56749.lobo@bsd.com.br> Date: Wed, 17 Mar 2010 15:31:04 -0500 Message-ID: <6201873e1003171331x341cc077j388f97132e37aa92@mail.gmail.com> From: Adam Vande More To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 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 20:31:06 -0000 On Wed, Mar 17, 2010 at 11:25 AM, Mario Lobo wrote: > On Wednesday 17 March 2010 19:03:03 Lowell Gilbert wrote: > > First, you'll need a precise definition of what you mean by "free > memory". > > Free physical memory available. > > > > > Add the "-H" flag to get that value more precise. I suspect, however, > > that precision isn't really the right term for what you're after. > > I caught the -H flag right after I wrote the mail. The result has to be > multiplied by 1024. > > It's possible you're right but what I am trying to do is to monitor the > amount > of free physical memory still on the system. > > To make a long story short, I am in a long stretch in trying to find out > why > 8-STABLE amd64+VBox+nvidia driver is freezing my system to power button > point. > Well I hope you find the issue, I'm experiencing the same issue siimplying trying to csup from 8-RELEASE to 8-STABLE. From what I've been able to gather I think this only applicable to amd64. You might have a different reason for wanting to know this, but I can assure you my lockups aren't due to a lack of memory from the host anyways. I have an order of magnitude more free memory(according to top) in my hosts than my VM requires when it's running and it still locks on every csup attempt. Mem: 112M Active, 12M Inact, 1543M Wired, 632K Cache, 2245M Free VM is set to use 256MB. -- Adam Vande More