Usage: free
Displays the amount of free and used system memory.
Example:
$ free total used free shared buffers Mem: 257628 248724 8904 59644 93124 Swap: 128516 8404 120112 Total: 386144 257128 129016