If you type "free" at the console, you should see something like this:
Code:
total used free shared buffers cached
Mem: 514968 509792 5176 0 22152 336496
-/+ buffers/cache: 151144 363824
Swap: 979956 0 979956
You can see how much memory is actually free less disk cache.
Alternatively, you can use "free -m" to get the figures in megabytes:
Code:
total used free shared buffers cached
Mem: 502 497 5 0 21 328
-/+ buffers/cache: 147 355
Swap: 956 0 956
As you can see, it looks like almost all my memory is used up, but looking at the line that has "-/+ buffers/cache:", I'm only using 147 MB.