Managing Processes in SUSE Linux Enterprise

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Determine if Docker Is Causing a Load Issue
  1. Verify that the Docker daemon is running:

    ps aux | grep dockerd

    Note the Docker PID.

  2. Check system load:


    Exit using q.

  3. Stop the dockerd process:

    sudo -i kill -SIGSTOP <dockerd_PID>
  4. Check the load to see if there is a change:


    Notice it indicates there is one stopped process. Exit using q.

  5. Restart the Docker daemon:

    sudo kill -i -SIGCONT <dockerd_PID>
Check the Current Process Priority of the dockerd Process and if It Is Not +10, Set It to +10
  1. Get the current priority (niceness):

    ps axo ni,pid,comm | grep dockerd
  2. Set the Docker niceness to +10:

    sudo -i renice -n 10 <dockerd_PID>
  3. Verify the change:

    ps axo ni,pid,comm | grep dockerd

Additional Resources

In your organization, you have been tasked with troubleshooting a server that seems to have some load issues. Intermittently the container runtime Docker becomes unavailable. You need to see if Docker is the load issue and, if it is not, take steps to ensure Docker has a higher priority than its current setting to possible correct the issue.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?