process management
the Program under execution is called as process
- It should be reside in the main memory
- It is occupied the CPU, to execute the instructions
- Active and Dynamic
Attributes of the process
All the attributes of the process is called context of the process. These are stored in the process control block (pcb).
Each process have its own PCB
- process id process id is the unique identification number assigned by OS at the time of process creation
- Process State it contains current state information of a process
- Program counter contains the address of the next instruction to be executed
- Priority is the parameter assigned by OS at the time of process creation
- List of open Files
- List of open devices
- Protection information
States of Process
- New
- Ready
- Run
- Wait or block
- Termination or completion
- Suspend ready
- Suspend wait or suspend block
operations on process
- Create
- Scheduling
- Dispatching
- Execution
- Killing or termination
- Suspend
- Resume