[root@ww-vl-ora06 ~]# free -m
total used free shared buffers cached
Mem: 12011 9825 2186 0 243 5829
-/+ buffers/cache: 3752 8259
Swap: 16378 313 16065 "if you add buffers and cache together, you get: 6072. If you subtract
6072 from used you get 3752 used and if you add it to free you get 8259
free"
Nice output gives the command:
vmstat -s -S M | grep mem
Some other explanations here: http://www.linuxhowtos.org/System/Linux%20Memory%20Management.htm
|