Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2011 12:12:09 -0400
From:      Jon Schipp <jonschipp@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Check Memory Usage, program like 'free' in Linux
Message-ID:  <CAB15j_CeUfzaj5QbXcsZHg1e_rH2qCzniiXnXfQTiZ5QXawJWg@mail.gmail.com>
In-Reply-To: <201111031535.pA3FZnE0018328@mail.r-bonomi.com>
References:  <CAB15j_DPjj-kHXBGeGCXTWYt-ZzyYkbxqEdvoVXUgf=6g%2BZQWw@mail.gmail.com> <201111031535.pA3FZnE0018328@mail.r-bonomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 3, 2011 at 11:35 AM, Robert Bonomi <bonomi@mail.r-bonomi.com>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 <jonschipp@gmail.com>
> > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB15j_CeUfzaj5QbXcsZHg1e_rH2qCzniiXnXfQTiZ5QXawJWg>