KnowledgeBase Glossary    Contact Us
Browse by Category KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: How can I tell how much memory my VPS is using?

How can I tell how much memory my VPS is using?

From a shell prompt to your VPS, run the following command:

cat /proc/user_beancounters

The following parameters are memory related:

  • kmemsize: Size of unswapable kernel memory. Data structures that reside in low memory other than network buffers.
  • lockedpages: Process pages not allowed to be swapped out.
  • privvmpages: The upper boundary of the total size of memory allocated for applications. (Not a guaranteed value.)
  • shmpages: Total size of shared memory.
  • physpages: Total number of RAM pages used by  processes in that specific Virtual Environment (VE).
  • vmguarpages: Controls how much memory is available to the VE.
  • oomguarpages: The guaranteed amount of memory for the VPS in case the memory is "over-booked".

Swap is not really a parameter that is relevant to a individual VPS, as it is handled on the system (hardware node) level rather than on the VE level.

How helpful was this article to you?

Related Articles

article Out of memory, can't allocate XX, and similar error messages
Error messages like "cannot allocate...

  1-28-2005    Views: 8632   
article What is error-correcting RAM?
Error-correcting RAM acts just like normal RAM,...

(No rating)  1-24-2006    Views: 6658   

User Comments

No comments have been posted.

.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc. - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted