How to check total memory in Linux

Written by James McDonald

August 5, 2011

Just checking if my Dreamhost VPS has had the memory reduced yet

Before:

[[email protected]]$ free -m
             total       used       free     shared    buffers     cached
Mem:          2300         97       2202          0          0         12
-/+ buffers/cache:         84       2215
Swap:            0          0          0

After:

[[email protected]]$ free -m
             total       used       free     shared    buffers     cached
Mem:           300        112        187          0          0         13
-/+ buffers/cache:         99        200
Swap:            0          0          0

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...