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

OpenSSH Hide Version Number From Clients

How do I hide ssh number from clients? When I type the following command it displays server...

Setting up VPN for CentOS

First, You will need to open up a ticket with our support desk and ask for TUN/TAP to be enabled...

Delete SSH Keys

Linux Lock An Account # passwd -l userName # passwd -l vivek FreeBSD Local An Account # pw...

Linux Default Services Which Are Enabled at Boot

Can you provide a guidance on default CentOS / Fedora / RHEL / Redhat enterprise Linux services...

How do I Find Out Linux CPU Utilization?

Top command to find out Linux cpu usage Type the top command: $ top   Output: