Module Title: dgt_sys04 – Processes and services
Description:
The module “dgt_sys04 – Processes and services” covers the management of processes and services on Linux systems and is intended for IT professionals and system administrators. It explains how processes and services work and which tools are used to manage them, with a particular focus on process control and service handling with SystemD.
In the labs you will not type these commands yourself. You might tell the machine “find out why the API service keeps restarting and stop the runaway worker without losing in-flight jobs”; it will run the diagnosis and propose a plan, and you will decide whether sending SIGKILL instead of SIGTERM is acceptable, or whether the unit file it edited really survives a reboot.
Module Objectives:
By the end of this module, participants will be able to:
-
Understand Process Management: Know how processes operate within Linux systems and how they are managed.
-
Read Command-Line Tools: Understand what tools such as
psreport about process status, so you can interpret the output the machine returns and ask for the right details. -
Process Termination Techniques: Learn the various ways of terminating processes with the
killcommand, including signals and their effects on running processes, and judge which one the machine should use. -
Troubleshooting Processes: Develop the ability to guide the troubleshooting of problematic processes by analyzing their states and behaviors, ensuring system stability and performance.
-
Service Management with SystemD: Understand how SystemD starts, stops, enables and disables services, and instruct the machine to do so correctly.
-
Verify systemctl Operations: Be able to read the
systemctlcommands the machine runs within a SystemD environment, understanding their syntax and options. -
Practical Application: Apply what you have learned to real-world scenarios through natural-language labs, describing the goal to the machine and verifying every action it takes.
Module Modules:
- Introduction to Process Management
- Overview of processes in Linux
-
Identifying running processes
-
Using the ps Command
- Basic usage and options of
ps -
Interpreting process information
-
Terminating Processes with kill
- Understanding signals and their effects
-
Safely stopping processes using
kill -
Advanced Process Troubleshooting
- Identifying unresponsive or problematic processes
-
Techniques for diagnosing issues
-
Introduction to SystemD
- Overview of SystemD architecture
-
Comparing traditional init systems with SystemD
-
Managing Services with systemctl
- Starting and stopping services
-
Enabling and disabling services at boot
-
Natural-Language Lab: Managing Processes and Services
- Process management exercises in which you instruct the machine and check its actions
- Real-world service control scenarios with SystemD, driven by your instructions and verified by you
Target Audience:
This module is intended for system administrators, DevOps engineers, IT professionals and anyone involved in Linux systems administration who aims to deepen their understanding of process and service management.
Prerequisites:
Participants should have a basic understanding of how the Linux command line works and be familiar with common system administration tasks. Prior experience with init systems will be beneficial but is not required.
The module provides the skills needed to manage processes and services in Linux and to keep computing environments stable and efficient.
The students can push their exercises to the Academy DevOps & SRE Git project. For this module, create a folder with your username as its name in the following subfolder: https://github.com/Garanti-Del-Talento/gdt_academy
