How do I find out System / Server Memory Utilization

free command example

Type the free command at shell prompt:


$ free


$ free -m


Output:

             total       used       free     shared    buffers     cached
Mem:          2010       1965         45          0        152        776
-/+ buffers/cache:       1036        974
Swap:         2047        137       1910

vmstat command

vmstat command provides more information :


$ vmstat


Output:

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0 140480  43636 158196 797692    1    0   108   220    1    4  7  5 87  1  0

Was this answer helpful?

 Print this Article

Also Read

All About YUM

up2date command was part of RHEL v4.x or older version. You need to use yum command to update...

Linux Install Google Chrome Browser [ Ubuntu, Suse, Debian, Fedora ]

How do I install Google Chrome browser under Linux operating systems? How do I install...

Used And Free Memory

What's going on? Linux is borrowing unused memory for disk caching. This makes it looks like you...

PHP Increase Upload File Size Limit

Your php installation putting limits on upload file size. The default will restrict you to a max...

nginx: Send Custom HTTP Headers

How do I send or set arbitrary HTTP headers using nginx web server? You need to use add_header...