Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 16:21:58 -0700
From:      Nate Williams <nate@yogotech.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Nate Williams <nate@yogotech.com>, hackers@FreeBSD.org
Subject:   Re: Amount of free memory available in system?
Message-ID:  <15424.50454.973048.932329@caddis.yogotech.com>
In-Reply-To: <20020112142534.D40866@xor.obsecurity.org>
References:  <15424.32963.768829.892783@caddis.yogotech.com> <20020112142534.D40866@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > Is there a simple sysctl or a command line utility I can use to
> > determine how much free memory is available in a system?
> > 
> > I've got an embedded application that has *very* limited memory, and I
> > was trying to figure out how much memory was available for the userland
> > applications.
> > 
> > 'top' has something, as well as 'vmstat'.  Unfortunately, because of the
> > limited amount of disk space available on this box, I don't have access
> > to either one of those.
> > 
> > Is there a sysctl I can use to determine how much free memory is
> > available on the box?
> 
> Why not look how top and vmstat calculate it and do that in your code.

I was hoping to get do 'sysctl foo.bar.bletch' to tell me information.


Nate

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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