Professional Documents
Culture Documents
Gwalior
Lecture : 2 - 3
====================================================================================================
Process Management
(IMIT-2205)
====================================================================================================
Instructor – Dr. Sunil Kumar
Office – 206, F‐Block (V), Tel No – 0751‐2449710 (O), Email ‐ snk@iiitm.ac.in
Mob ‐ 8472842090
Summary of Last Class
Role of Operating System (OS).
Process Time of execution
𝑃 10 units
𝑤 𝑃 𝑃 𝑃 𝑃 𝑃
𝑃 5 units
A 10 B 5 15 8 2
𝑃 15 units
𝑃 8 units
𝑃 2 units Waiting time
𝑡 𝑡 Waiting time = 𝑡 𝑡
Turnaround time = 𝑡 𝑡
𝑡 𝑡 𝑡
𝑤
118
𝑡 23.6
5
𝑤
Average waiting time
Process Management
Example-1
Process Time of execution
𝑃 10 units
𝑤 5 𝑃 𝑃 𝑃 𝑃 𝑃
𝑃 5 units
A 10 B 5 15 8 2
𝑃 15 units
𝑃 8 units
𝑃 2 units
Process Time of execution
𝑃 10 units 𝑃 𝑃 𝑃 𝑃 𝑃
𝑃 5 units 2 5 8 10 15
𝑃 15 units
𝑃 8 units
𝑃 2 units
Example-2 CPU / Process Management
Waiting time
𝑤𝑝 0 𝑃 𝑃 𝑃 𝑃 𝑃
𝑤𝑝 2 2 5 8 10 15
𝑤𝑝 7
𝑤𝑝 15 54
𝑤𝑝 30 𝑡 10.8
5
Process
Thorn, Tine, et al. A distributed, value-oriented XML Store. Diss. Master’s thesis, IT University of Copenhagen, 2002.
Process State
Process states : It refers to the stages through which a process passes
before its final execution (termination).
Moreover, it mainly indicating life cycle of a process.
The process is being created Instructions are being executed.
TERMINATED
NEW STATE
STATE
READY RUNNING
STATE STATE The process has finished execution
Text Books
1. Silberschatz, A., Galvin, P.B. and Gagne, G., Operating System Concepts, John Wiley
(2004) 7th ed.
2. Stallings, Willam, Operating Systems Internals and Design Principles, Prentice Hall
(2009) 6th ed.
Reference Books
1. Dhamdhere, D.M., Operating Systems: A Concept Based Approach, Mc Graw Hill
(2008) 2nd ed.
2. Flynn, I.M. and McHoes, A.M., Understanding Operating Systems, Thomson (2007).
Thank You!