Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
OpenVZ Essentials

You're reading from   OpenVZ Essentials Create and administer virtualized containers on your server using the robust OpenVZ

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781782167327
Length 110 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Mark Furman Mark Furman
Author Profile Icon Mark Furman
Mark Furman
Arrow right icon
View More author details
Toc

Memory management

One of the features of OpenVZ is that it allows you to manage the memory allocation to the containers on a very fine-tuned level and allows you to fully control memory resources on the node.

vzmemcheck

You can use vzmemcheck to check the amount of memory that is currently being used by the server and also by each individual container. Using vzmemcheck on its own will give you the memory usage that is currently being used by the entire server. This is shown in the following screenshot:

vzmemcheck

In the previous example, we used the vzmemcheck command with no options or flags to display the current memory that is being used by the server.

LowMem

LowMem is the part of memory that is directly available by the OS kernel.

MemSwap

MemSwap is a joining of both the physical memory and swap on the server. This determines the total amount of memory that is available for applications.

Allocated

Allocated memory shows the total amount of memory that is currently allocated for use for future processes...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime