Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 08:11:26 +1100
From:      Rowdy <david@fielden.com.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: showing total/free memory
Message-ID:  <401976FE.3040007@fielden.com.au>
In-Reply-To: <20040128135843.7d453814.cpressey@catseye.mine.nu>
References:  <401823B2.7050400@fielden.com.au> <20040128211153.GA40209@wopr.caltech.edu>	<401828E8.5090907@fielden.com.au> <20040128135843.7d453814.cpressey@catseye.mine.nu>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Pressey wrote:

> Well, I'm not sure if it works on 5.x, but you could try
> 
>   /usr/ports/sysutils/muse
> 
> Should be easier to parse than the other options.
> 
> -Chris

Works fine under 5.1 - thanx Chris.

However the output is a little confusing, /var/run/dmesg.boot shows this:

real memory  = 134217728 (128 MB)

however muse shows this:

Active:     42393600 Bytes
Inactive:    2424832 Bytes
Wired:      37715968 Bytes
Reserved:     499712 Bytes
Cache:             0 Bytes
Buffer:     23166976 Bytes

Total:     127639552 Bytes
Free:       43548672 Bytes

where the total works out to 121.7M.

What might be the reason for this discrepancy?

Dave



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