Process: A Program in Execution
Program vs Process
| Program | Process |
|---|---|
| Passive entity (file on disk) | Active entity (running) |
| Static | Dynamic |
| No resources allocated | Has CPU, memory, I/O |
| Stored in storage | Resides in memory |
Learning Objectives
Lesson Outline
| Program | Process |
|---|---|
| Passive entity (file on disk) | Active entity (running) |
| Static | Dynamic |
| No resources allocated | Has CPU, memory, I/O |
| Stored in storage | Resides in memory |
The OS maintains a PCB for each process: