© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
S. M. JainLinux Containers and Virtualizationhttps://doi.org/10.1007/978-1-4842-9768-1_4

4. Cgroups

Shashank Mohan Jain1  
(1)
Bengaluru, India
 

In Chapter 3, you learned how to control visibility of Linux processes by using namespaces and learned how they are realized within the kernel. In this chapter, we explore another important aspect—resource control—which enables us to apply quotas to various kernel resources.

As you learned in Chapter 3, namespaces enable us to restrict the visibility of resources for processes, which we did by putting the processes in separate namespaces. Chapter 3 also covered the data structures involved in the kernel, to give you ...

Get Linux Containers and Virtualization: Utilizing Rust for Linux Containers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.