how to interpret free memory

Here is what I'm showing when I check free memory:

total used free shared buffers cached
Mem: 1022792 998124 24668 0 63092 515780
-/+ buffers/cache: 419252 603540
Swap: 2097144 8180 2088964


I'm confused about what free/shared/cached and swap means.

To confuse things further, if I look at running processes with webmin, it says at the same time I ran the check above, "Real memory: 1022792 kB total / 601704 kB free Swap space: 2097144 kB total / 2088964 kB free"

So, according to the webmin stats, there's plenty of "real" memory, but the "free" command seems to show that I have a memory problem.

So, if anyone would be so kind to explain what all the terms mean, and how to interpret them, I'd appreciate it. how to interpret free memory (OR direct me to a link where I can find the info!)

 

 

 

 

Top