Process in Operating System
Process in Operating System
1. Process Concept
A process is an executing instance of a program. It includes the program code, current activity (indicated by
the value of the Program Counter), process stack, data section, and other resources.
- Program Counter
- Process ID (PID)
- Process State
- Program Counter
- CPU Registers
- Accounting Info
- I/O Status
3. Process Management
Process management refers to managing the creation, execution, suspension, and termination of processes.
Major OS responsibilities:
- Handle deadlocks
4. Process States
State transitions:
5. Summary
A process is a fundamental unit of work in an OS. It is more than a program and includes execution context.
The OS must manage multiple processes efficiently using process control blocks, scheduling, and state
transitions. Proper process management ensures system stability, multitasking, and resource sharing.