How to see memory usage on the virtual or dedicated server

To view available memory in MB over SSH to your virtual private server or dedicated server, use the following command:

free-m

You’ll get something like:

total       used       free     shared    buffers     cached
Mem:           512         77        434          0          0          0
-/+ buffers/cache:         77        434
Swap:            0          0          0

To monitor the memory in real time on 1 second for 60 seconds use:

vmstat 1 60

The result should be similar to:

procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
1  0      0 444848      0      0    0    0     0     1    0    5  0  0 100  0  0
0  0      0 444836      0      0    0    0     0     0    0 8370  0  0 100  0  0
0  0      0 444836      0      0    0    0     0     0    0 8094  0  0 100  0  0
0  0      0 444836      0      0    0    0     0     0    0 7753  0  0 100  0  0
0  0      0 444836      0      0    0    0     0     0    0 9175  0  0 100  0  0

To keep track to more information about the server processes use the command:

top

  • 59 Users Found This Useful
Was this answer helpful?

Related Articles

How to manage DNS in SolusVM VPS control panel

First change the DNS servers for all the domains you intend to add in SolusVM VPS control panel...

Buy web hosting with SOFORT

Web Hosting with SOFORT Webhosting companies are essential in today’s current world. The...

Buy VPS with Bitcoin

Buy VPS with Bitcoin Hosting Your Website There is stiff competition among business entities...

Buy web hosting with Przelewy24

Web Hosting With Przelewy24 The internet allows people to interact and communicate from...

How to setup the VPS hosting server to use quotas

All provisioned VPS hosting servers have already enabled full disk quota support. So there is not...