Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.*

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 30m
Published
Clock icon Dec 04, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    View Process Information Using the PS and TOP Commands

    • Use top to view process activity.
    • Use grep to filter ps output for mariadb.
  2. Challenge

    Cycle the Problematic Service

    • Use the systemctl command to cycle the mariadb.
    • Confirm mariadb service is running using the systemctl command.
  3. Challenge

    Identify the PID and KILL the Problematic Process

    • Use the ps command to identify the PID for the mariadb process.
    • Use the kill command to terminate the mariadb using the SIGKILL parameter.
  4. Challenge

    Stop and Mask the Problematic Service to Prevent It from Restarting

    • Check the mariadb service status using systemctl.
    • Use systemctlto stop the mariadb service.
    • Mask the mariadb service using systemctl.
    • Attempt to start the mariadb service to confirm it is properly masked.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans