Apr 24 2014 
Support Center » Knowledgebase » Linux VPS » How do I check my VPS Memory Resource Usage?
 How do I check my VPS Memory Resource Usage?
Solution You can use the command free -m to check the memory usage.

-bash-2.05b# free -m
total used free shared buffers cached
Mem: 1024 186 837 0 0 0
-/+ buffers/cache: 186 837
Swap: 0 0 0
-bash-2.05b#


total = Total RAM available
used = RAM used
Available RAM = RAM guaranteed - Used RAM

You can use the command top -c to see which process is taking more load.

While running the command press + p to sort the process by cpu usage.

To sort it by memory usage press + m.

To exit press +c.

NOTE:
Free memory = RAM guaranteed - Used RAM (384M - used RAM). When the memory usage exceeds the guaranteed RAM, the system forces the processes to release it causing some process to terminate.


Article Details
Article ID: 95
Created On: Jan 23 2009 05:38 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase
Language:

Help Desk Software By Kayako eSupport v3.60.02