- Lab
- A Cloud Guru
Managing Processes in SUSE Linux Enterprise
In this hands-on lab, we will be looking at process management and how we can ensure some processes are given preference to run using process priority.
Path Info
Table of Contents
-
Challenge
Determine if Docker Is Causing a Load Issue
-
Verify that the Docker daemon is running:
ps aux | grep dockerd
Note the Docker PID.
-
Check system load:
top
Exit using
q
. -
Stop the dockerd process:
sudo -i kill -SIGSTOP <dockerd_PID>
-
Check the load to see if there is a change:
top
Notice it indicates there is one stopped process. Exit using
q
. -
Restart the Docker daemon:
sudo kill -i -SIGCONT <dockerd_PID>
-
-
Challenge
Check the Current Process Priority of the dockerd Process and if It Is Not 10, Set It to 10
-
Get the current priority (niceness):
ps axo ni,pid,comm | grep dockerd
-
Set the Docker niceness to +10:
sudo -i renice -n 10 <dockerd_PID>
-
Verify the change:
ps axo ni,pid,comm | grep dockerd
-
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.