0% found this document useful (0 votes)
288 views8 pages

Process Life Cycle in OS

The process life cycle in an OS/RTOS consists of five stages: New, Ready, Running, Waiting, and Terminated. Each state represents a specific phase in the lifecycle of a process, from its creation and resource allocation to its execution and eventual termination. The document includes a detailed explanation of each state and the transitions between them.

Uploaded by

Sasi Bhushan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
288 views8 pages

Process Life Cycle in OS

The process life cycle in an OS/RTOS consists of five stages: New, Ready, Running, Waiting, and Terminated. Each state represents a specific phase in the lifecycle of a process, from its creation and resource allocation to its execution and eventual termination. The document includes a detailed explanation of each state and the transitions between them.

Uploaded by

Sasi Bhushan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Process Life Cycle in OS/RTOS

Detailed Explanation with Diagram


Overview of Process Life Cycle
• The process life cycle defines the various stages a
process goes through from creation to
termination.
• States include:
• 1. New
• 2. Ready
• 3. Running
• 4. Waiting
• 5. Terminated
New State
• • The process is being created.
• • Operating system initializes PCB (Process
Control Block).
• • Allocates necessary resources like memory
and IDs.
Ready State
• • Process is loaded into main memory and is
waiting to be assigned to the CPU.
• • The scheduler determines which process
from the ready queue will execute next.
Running State
• • Process is currently being executed by the
CPU.
• • The instructions in the process are actively
running.
• • Only one process per core can be in this
state at a time.
Waiting State
• • Process cannot proceed until some event
occurs (e.g., I/O completion).
• • It voluntarily releases the CPU and enters a
wait queue.
Terminated State
• • Process has finished execution.
• • All resources are released and PCB is
deleted.
• • The process is removed from all queues.

You might also like