A user, service manager, scheduler, or system event starts a program.
Process Lifecycle and Service Flow
Process Lifecycle and Service Flow
A lot of process management mistakes come from killing the wrong thing, not knowing what started it, or misreading a symptom as the whole problem.
The OS assigns PID, memory, file handles, and CPU scheduling.
Foreground, background, or service context changes how it behaves.
CPU, memory, I/O, log, and service state reveal whether it is healthy.
Processes exit normally, crash, get stopped, or get restarted by a supervisor.
- Launching a program creates a process with its own identity and resource usage.
- Foreground work, background jobs, and long-running services are different operational patterns.
- Performance diagnosis works best when you inspect evidence before taking action.
- Confusing a window with the actual process tree behind it.
- Thinking a background job is the same as a service that survives session changes.
- Treating CPU, memory, and I/O issues as one identical problem.
Understand the difference between a program stored on disk and a process running in memory, and learn the basic ideas of PID, parent process, and thread.
Field-verified M20 - Process Management: CLIList, filter, and stop processes from the command line with a stronger habit of inspecting before terminating.
M21 - Background and ForegroundUnderstand how foreground work, background jobs, and persistent sessions differ so long-running commands do not surprise you or die unexpectedly.
M22 - Performance DiagnosisCheck CPU, memory, and disk pressure more systematically so a slow system is diagnosed from evidence instead of guesses.
Field-verified M47 - Services ManagementInspect, start, stop, restart, and enable services on Windows and Linux while using logs and status output to verify the result.
Inspect running processes, identify PIDs, and connect a few basic commands to the process model without needing advanced process theory yet.
Field-verified LAB-PROC-03 - Signals and Controlled StoppingUnderstand basic process signals and practice stopping harmless processes with a preference for gentler signals first.
LAB-MON-01 - Real-time Monitoring (top/htop)Use top and htop to inspect CPU and memory usage, sort active processes, and stop a disposable practice load.