From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 16:12:11 2011 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 A6D3D106564A for ; Thu, 3 Nov 2011 16:12:11 +0000 (UTC) (envelope-from jonschipp@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3D9298FC18 for ; Thu, 3 Nov 2011 16:12:10 +0000 (UTC) Received: by faar19 with SMTP id r19so2540082faa.13 for ; Thu, 03 Nov 2011 09:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=KxednTRhxZaCykY6T4gWlrmx0q16I0OhzhbA1cJJ4N0=; b=nIZyJ83STKdF0Se4Ljb7yGy3NAWdfTPZoYiPc73jJSzR3dzTitOLurttE8+pd0Caw3 lswk3hs93l8HieiXNOteYEa/5rrO/cSSa2BKqPLlUHZ6O9UVfGVTGfv6G01FCLVvS+NJ /VyrXvp7ihXu5q8xPJlkxNPzgMkAtyLlGv+wM= MIME-Version: 1.0 Received: by 10.223.91.68 with SMTP id l4mr17384342fam.16.1320336730135; Thu, 03 Nov 2011 09:12:10 -0700 (PDT) Received: by 10.152.24.74 with HTTP; Thu, 3 Nov 2011 09:12:09 -0700 (PDT) In-Reply-To: <201111031535.pA3FZnE0018328@mail.r-bonomi.com> References: <201111031535.pA3FZnE0018328@mail.r-bonomi.com> Date: Thu, 3 Nov 2011 12:12:09 -0400 Message-ID: From: Jon Schipp To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Check Memory Usage, program like 'free' in Linux 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: Thu, 03 Nov 2011 16:12:11 -0000 On Thu, Nov 3, 2011 at 11:35 AM, Robert Bonomi wrote: > > From owner-freebsd-questions@freebsd.org Thu Nov 3 08:17:46 2011 > > Date: Thu, 3 Nov 2011 09:18:06 -0400 > > From: Jon Schipp > > To: freebsd-questions@freebsd.org > > Subject: Check Memory Usage, program like 'free' in Linux > > > > Is there a program to check physical memory usage in FreeBSD(using 8.2 > > RELEASE)? > > In vain of 'free' in Linux. > > Having *NO* idea what linux 'free' does, your question is hard to answer. > > > > I know you can check the values with sysctl, I was just checking if > anyone > > has a "cleaner" option. > > I was always curious. > > If you're just looking for the amount of 'free' memory, the 3rd field of > the third line of the output of vmstat(8) has that value. > > I'm under the impression that virtual memory and physical memory usage are very different. e.g. vmstat and top report very different memory values.