Unit - 1 Process Management - PPT
Unit - 1 Process Management - PPT
State
Priority
Program Counter
Memory pointer
CPU Registers
Accounting information
………………
4 Prepared By :- Eeva Kapopara
1 Process State
The current state of the process i.e., whether it is ready, running, waiting, or whatever.
2 Process ID
Unique identification for each of the process in the operating system.
3 Priority
Priority amongst the many processes is stored.
4 Program Counter
Program Counter is a pointer to the address of the next instruction to be executed for this
process.
5 CPU registers
Various CPU registers where process need to be stored for execution for running state.
6 Memory management information
This includes the information of page table, memory limits, Segment table depending on
memory used by the operating system.
7 Accounting information
This includes the amount of CPU used for process execution, time limits, execution ID
etc.
8 IO status information
This includes a list of I/O devices allocated to the process.
Note:
In each and every policy have to found waiting time, turn around time, average
waiting time and average turn around time
Non pre emptive policy:
Waiting time = Response time – arrival time
or Turn around time – Burst time
Turn around time = Completion time – arrival time
or = waiting time + burst time
Pre emptive policy:
Waiting time = Latest Response time – arrival time – seconds already
executed
or Turn around time – Burst time
Turn around time = Completion time – arrival time
or waiting time + burst time