howto calculate free memory from top

Jesse Guardiani jesse at wingnet.net
Tue Sep 9 05:35:43 PDT 2003


Howdy list,

I've been wondering about this for a while:

How do I calculate the amount of free memory my system
has at any given point in time?

My top usually looks like this:

Mem: 72M Active, 668M Inact, 165M Wired, 29M Cache, 112M Buf, 70M Free
Swap: 2048M Total, 5448K Used, 2043M Free

I understand the "70M Free" part, but should I add "668M Inact" to
that? Or is it more complicated?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net




More information about the freebsd-questions mailing list