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.

  • 57 Users Found This Useful
Was this answer helpful?

Related Articles

New DNS

I Had you set up my nameservers in my new webserver. When I went to my...

I keep getting brute force attack warnings in my email

We have installed a brute force detector & firewall on your server this is a FREE added layer...

Reverse DNS (rDNS) (PTR)

How to Setup Reverse DNS Reverse DNS (rDNS) for your IP address can only be setup by...

TOS/AUP

For our Terns of service  and acceptable use  please see...

Reboots & Hardware Failure

1. Log a Priority ticket & include main Ip Address and check "reboot my server" 2. You may...