Friday, October 2, 2009

How to determine Total memory (Total RAM, Used RAM, Free RAM) on Unix/Linux

'free' tool prints pretty much everything.

total used free shared buffers cached
Mem: 514592 274136 240456 0 20228 134104
-/+ buffers/cache: 119804 394788
Swap: 1052216 0 1052216

or

cat /etc/meminfo - has all the information.

No comments: