How do I check my Ram use inside a VPS?

root@hostname[~]# free -m
For XEN/KV you will read your actual memory swap, for Virtouzzo you will read your max Memory +VSWAP

root@server1 [~]# free -m
total used free shared buffers cached
Mem: 1024 934 90 0 14 563
-/+ buffers/cache: 356 668
Swap: 2047 0 2047

Actual free memory will be the -/+ buffers/cache: line free

Virtuozzo Server on line prior to Version 4 2008
Some of you that have been around a while may have your VPS on the old UBC method of calculating resources
The quick method Open a SSH session and type the command "Free" (without the quotation marks and the capital F is there by design it needs to be that way)
root@hostname[~]# Free
VPS Memory:
Total: 384 mb Used: 314 mb (81%) Free: 70 mb (19%)

If you get a command not found? You are either running in the newer Memory +VSWAP mode or the script was not installed. You may verify that you are running SLM or UBC by logging into power panel.
You may view your Ram usage inside your Power Panel under the resource tab. Please note: It requires a bit of math to calculate all of the memory parameters to get an accurate amount as virtuozzo accounts for RAM in kb @ 4k chunks and kernel memory is calculated in bytes. That is why we have made it easy for you to view using the script above.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What virtualization software do you use?

We use Parallels Virtuozzo Containers (PVC).

Why is my VPS constantly crashing?

There are several causes to why you may not be able to access your VPS. Some users often mistake...

What kind of support do you offer?

We offer Fully Managed VPS packages. For a list of items that we support, please refer to the...

What kind of software can I install on my VPS?

As you have full root access, you may install any compatible software on your VPS. However, any...

What is Virtuozzo?

Virtuozzo is the VPS technology created by SWsoft which allow us to create isolated VPS servers...