Date: 03 Mar 2006 08:35:13 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: "N. Ersen SISECI" <siseci@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Calculating of total free memory Message-ID: <44bqwnr6r2.fsf@be-well.ilk.org> In-Reply-To: <1141377091.2228.17.camel@siseci.gdg.gov.tr> References: <1141377091.2228.17.camel@siseci.gdg.gov.tr>
next in thread | previous in thread | raw e-mail | index | archive | help
"N. Ersen SISECI" <siseci@gmail.com> writes: > I want to know REAL free memory size in my system. What I want to know > that is the real free memory size is hw.physmem - Free memory (the one > that is shown at the output of top -b). Various tools such as the one in > freecolor ports in ports tree says it is not like that. It seems that > Free Memory > is ( hw.physmem - (Free + Inactv) ) > > I am not sure which one is the right one.. Can someone tell me which one > is > the right one? I don't think you have a clear definition of "free memory" in mind. According to the kernel definitions, the "free" value from top(1) is the amount of free RAM. "Inactive" memory holds usable data, but can be cleared for new uses fairly easily. What is your purpose in looking for this number?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44bqwnr6r2.fsf>