showing total/free memory
Rowdy
david at fielden.com.au
Thu Jan 29 13:11:49 PST 2004
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
More information about the freebsd-questions
mailing list