From owner-freebsd-questions@FreeBSD.ORG Wed Mar 17 19:51:02 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 4FB41106566B for ; Wed, 17 Mar 2010 19:51:02 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-yw0-f185.google.com (mail-yw0-f185.google.com [209.85.211.185]) by mx1.freebsd.org (Postfix) with ESMTP id EC8E38FC22 for ; Wed, 17 Mar 2010 19:51:01 +0000 (UTC) Received: by ywh15 with SMTP id 15so548031ywh.28 for ; Wed, 17 Mar 2010 12:51:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=I3R8TRZnXZ3RWHpTfMfcLB0/RrA8dxpg+kdR+nl5F5Q=; b=l0heJxCdy5NyBNv3SMMo12XcwLii8hBL8W+mYVSpoV54/CTlZgYcpW9joKEj5tgxNJ bYua7+zcGPxTJDY4plfOUFPgVgXWlG1yZlXSZO6S41KTyr3TmnRQRDwpzk9BF/fI5Dpj 4yQfWIpDmpyJsiD1ofgVvmsyOnFt+8fqB0mL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=bqeYh+nqXnr7ntoq2OQ+eeVT4feeY574AgvK1dQB7kObCwChHmtPgYqPueD8nOdMMg qhw8qJiA54s3k5z2iUIhcHgbdJgMRT201MRFogjuS7AOitpNEE8OyONxQ1RPsUdlc3kc xo+iw97DT6J0bth3u2Otz2XPAi9sjIAdu233M= Received: by 10.100.77.4 with SMTP id z4mr1902647ana.240.1268855460896; Wed, 17 Mar 2010 12:51:00 -0700 (PDT) Received: from [10.87.222.78] ([166.205.11.167]) by mx.google.com with ESMTPS id 5sm2535255ywd.29.2010.03.17.12.50.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 17 Mar 2010 12:51:00 -0700 (PDT) References: <201003171546.00190.lobo@bsd.com.br> <44d3z2epp4.fsf@be-well.ilk.org> <201003171625.56749.lobo@bsd.com.br> Message-Id: <8DFCC09B-1768-49E5-AD2E-84DB39B0C226@gmail.com> From: Brandon Gooch To: Mario Lobo In-Reply-To: <201003171625.56749.lobo@bsd.com.br> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7D11) Mime-Version: 1.0 (iPhone Mail 7D11) Date: Wed, 17 Mar 2010 14:51:33 -0500 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 19:51:02 -0000 Sent from my iPhone On 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. > I'm also seeing something similar although perhaps not related to (lack of) free memory. Are you able to enable debugging in the kernel and maybe get a (text)dump? >> Have you seen: >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM >> and >> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FREE-MEMOR >> Y-AMOUNT by any chance? >> > > Those were nice, Thanks. > > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes > FREE) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org > " I've sent a couple of textdumps to one of the FreeBSD VirtualBox devs but haven't heard back just yet. -Brandon