Understanding free output in Linux
If you are managing Linux machines daily like me, its important to understnad the output of free
command, which shows the free system memory.
free -g
is much more helpful instead
Some flavours of linux might output in this format:
- total - Your total, physical (assuming no virtualization) memory
- used - How much of that is currently used (by anything)
- free - How much of that is completely free (not used at all)
- shared - (never anything there, ignore that column)
- buffers - Memory used by kernel buffers
- cached - Memory used for cache
Essentially, the figures which we should be focussing on is -/+ buffers/cache
which excludes the used buffer.