Linux Process & Service Management – Full Quiz
← Back to Process & Service Management
← Back to Linux Commands
← Back to Quiz Home
This quiz contains 20 questions focused on Linux process monitoring, signals,
system services, and troubleshooting running applications .
These skills are essential for maintaining stable Linux servers.
Which command displays running processes in real time?
The top command provides a dynamic, real-time view of running processes and system resource usage.
Which command shows a snapshot of current processes?
ps (process status) displays a static snapshot of the currently running processes.
Which command displays all running processes with detailed information?
The flags aux show all processes for all users (a), processes without a controlling terminal (x), and user-oriented format (u).
Which command shows system uptime and load average?
The uptime command shows how long the system has been running, the number of users, and load averages.
Which command shows CPU and memory usage interactively?
top is the standard tool for interactive monitoring of CPU and memory usage by processes.
Which signal is sent by default when using kill?
By default, kill sends the SIGTERM (15) signal, asking the process to stop gracefully.
Which command forcefully terminates a process?
kill -9 sends the SIGKILL signal, which immediately terminates the process and cannot be ignored.
Which command sends a signal to a process by name?
killall allows you to kill processes by their name (e.g., killall nginx) instead of their PID.
Which command shows parent-child process relationships?
pstree visualizes the process hierarchy as a tree, showing which processes spawned which.
Which process state represents a zombie process?
The Z state stands for "Zombie" (defunct), meaning the process has completed execution but hasn't been reaped by its parent.
Which command helps identify zombie processes?
You can spot zombie processes in the output of ps aux by looking for Z in the STAT column or <defunct> in the command name.
Which directory contains process information?
The /proc filesystem is a virtual filesystem that provides an interface to kernel data structures, including process information.
Which command manages services on systemd-based systems?
systemctl is the central command for controlling the systemd init system and service manager.
Which command checks the status of a service?
systemctl status shows whether a service is active (running), inactive, or failed, along with recent logs.
Which command starts a service immediately?
systemctl start launches the service immediately in the current session.
Which command enables a service to start at boot?
systemctl enable configures the service to auto-start whenever the system boots up.
Which command stops a running service?
systemctl stop halts the execution of a running service immediately.
Which command restarts a service?
systemctl restart stops and then starts the service again, useful for applying configuration changes.
Which command reloads service configuration without restarting?
systemctl reload asks the service to reload its configuration files without stopping the main process (useful for zero-downtime updates).
Which command lists failed services?
systemctl --failed specifically lists units that have entered a failed state.
Quiz Progress
0 / 0 questions answered
(0% )
0 correct
Quiz Complete!
0%
Reset quiz
📩 Get weekly DevOps quizzes & guides
📬 Weekly DevOps, Cloud & Gen AI quizzes & guides