- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Using systemd cgroups
Knowing how to control the processes on your system, keep them running properly, keep hungry ones from starving the others and how you can pre-set configuration to make this happen is an important skill for any system operator. All of this becomes a little easier on a systemd system via the use of Kernel Cgroups or Slices. In this lab we'll install some testing tools and create a custom Load Service, then view the results of that load on our system. We'll then make a parameter change and cause the system to recognize and implement our change properly, then observe the results via the `systemd-cgtop` command. We'll then change the service's settings further, then add some more Load Services, and notice that some limitations would be good for the system as a whole. We'll then make some adjustments to those Load Services that brings things into the range of acceptable resource use.

Lab Info
Table of Contents
-
Challenge
Install Load Software and Create Load Service
Perform the following steps:
- Install testing tools.
- Create a load service.
- Manage that service's operation.
- View load results for the system.
-
Challenge
Change the Memory Allowance for the Load Service
Perform the following steps:
- Change the service's settings.
- View load results and note differences.
-
Challenge
Create More Load Services and Set CPU Allowances
Perform the following steps:
- Add additional load services.
- Make adjustments to configuration.
- View load results for all load services.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.