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