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

Managing and Troubleshooting System Services and Processes
In this hands-on lab, you will be investigating process activity and managing services on a development system. You use the `ps` and `top` commands to review process activity and locate the `PID` for a specific process. You will use this information to kill an active process that shouldn't be running. To ensure the process isn't restarted by the service, you will use the `systemctl` command to mask the service so it doesn't start automatically and cannot be manually started by an administrator. *This course is not approved or sponsored by Red Hat.*

Lab Info
Table of Contents
-
Challenge
View Process Information Using the PS and TOP Commands
- Use
top
to view process activity. - Use
grep
to filterps
output formariadb
.
- Use
-
Challenge
Cycle the Problematic Service
- Use the
systemctl
command to cycle themariadb
. - Confirm
mariadb
service is running using thesystemctl
command.
- Use the
-
Challenge
Identify the PID and KILL the Problematic Process
- Use the
ps
command to identify the PID for themariadb
process. - Use the
kill
command to terminate themariadb
using theSIGKILL
parameter.
- Use the
-
Challenge
Stop and Mask the Problematic Service to Prevent It from Restarting
- Check the
mariadb
service status usingsystemctl
. - Use
systemctl
to stop themariadb
service. - Mask the
mariadb
service usingsystemctl
. - Attempt to start the
mariadb
service to confirm it is properly masked.
- Check the
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.