[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: memory usage a la "free"



On Wed, Nov 15, 2000 at 08:33:18PM +0000, Jim Breton wrote:
> What are some ways for me to see some stats on my current memory usage?

OK thanks for all the responses on this.  I'd seen "top" considering
it's an analogue to the other *nix ones, and saw the Mem/swap usage at
the top of the display.

Anyway now that I've got a couple different sources of seeing the same
numbers here, I wonder if OBSD is seeing all of my RAM.  I have 32 MB in
there, but:

from top:
Memory: Real: 7192K/15M act/tot  Free: 11M  Swap: 4K/100M used/tot

and from systat vmstat:
          memory totals (in KB)
         real   virtual    free
Active   7280      7284   11396
All     15828     15832  113704


These numbers ~15 MB seem to imply that I'm only seeing around 1/2 of my
RAM (~16 MB).  Am I reading these displays incorrectly?  If I run
"machine memory" at the boot> prompt it does report back all 32 MB.