SlideShare a Scribd company logo
2
Most read
5
Most read
9
Most read
Process,
Process States,
Process Control Block.
AR
MS
UF
ZB
What Is Process?
• Process is a running program that serves as the foundation for all
computation.
• Process is something that is currently under execution. So, an active
program can be called a Process. For example, when you want to
search something on web then you start a browser. So, this can be
process.
Process States
• Process goes through different throughout the lifecycle
during the process execution, which is known as process
states.
• From start to finish, the process goes through a number of
stages. A minimum of five states is required. Even though
the process could be in one of these states during
execution, the names of the states are not standardised
throughout its lifecycle.
RAM memory
1. New/Start State:
This is the initial state when a process is first started/created.
2. Ready State:
The process is waiting to be assigned to a processor. Ready
processes are waiting to have the processor allocated to them by
the operating system so that they can run. Process may come
into this state after Start state or while running it by but
interrupted by the scheduler to assign CPU to some other
process.
3. Running State:
Once the process has been assigned to a processor by the OS
scheduler, the process state is set to running and the processor
executes its instructions.
4. Wait/ Block State:
Process moves into the waiting state if it needs to wait for a
resource, such as waiting for user input, or waiting for a file to
become available.
5. Terminate State:
When a process’s execution is finished, it goes from the run state
to the terminate state. The operating systems deletes the process
control box (or PCB) after it enters the terminate state.
What Is Process Control block?
• Process control Block is a data structure used in operating system to
store all data related information to the process.
• Every process will have its own PCB.
• PCB of the process will be stored in main memory.
Process Control
Block:
Process ID
Process State
Program Counter
Priority
General purpose Registers
File list
Device Info
Protection
Etc.
• Process ID : is a unique Identification number which is assigned
by the OS at the time of process creation.
• Process States : Contains the current state information of the
process where it is residing.
• Program counter : Contains the address of the next instructions
to be executed.
• Priority : is a parameter which is assigned by the OS , at the time
of process creations.
• General purpose Registers : It contains registers information
used by the process in order to execute the instructions.
• File list : In which CPU maintain a list of files that are being
opened by a process.
• Device Info : A proper list should be maintained that shows which
I/O device is being used by which process.
• Protection : It also provide protection to a particular process.

More Related Content

PPTX
Process management
PPTX
Operating Systems - Processor Management
PPT
The process states
PPT
Introduction to Operating System
PPTX
Process control block(PCB)
PPTX
ppt of features of operating system.pptx
PPTX
Process in operating system
Process management
Operating Systems - Processor Management
The process states
Introduction to Operating System
Process control block(PCB)
ppt of features of operating system.pptx
Process in operating system

What's hot (20)

PPTX
File system structure
PDF
Process scheduling (CPU Scheduling)
PPT
Os Threads
PPTX
Os unit 3 , process management
PDF
Deadlock Avoidance - OS
PPTX
Segmentation in operating systems
PPT
Paging.ppt
PPTX
Methods for handling deadlock
PPTX
Memory Management in OS
PPTX
Operating system 11 system calls
PPTX
Operating system 08 time sharing and multitasking operating system
PDF
OS - Process Concepts
PDF
Process Scheduling in OS
PPTX
Fragmentaton
PPT
Process management in os
PPTX
Swapping | Computer Science
PPTX
Demand paging
PPTX
Operating system memory management
PDF
Os services
PPTX
Demand paging
File system structure
Process scheduling (CPU Scheduling)
Os Threads
Os unit 3 , process management
Deadlock Avoidance - OS
Segmentation in operating systems
Paging.ppt
Methods for handling deadlock
Memory Management in OS
Operating system 11 system calls
Operating system 08 time sharing and multitasking operating system
OS - Process Concepts
Process Scheduling in OS
Fragmentaton
Process management in os
Swapping | Computer Science
Demand paging
Operating system memory management
Os services
Demand paging
Ad

Similar to Process , Process states , Process Control Block in Operating Systems (20)

PDF
Unit 2 part 1(Process)
PPTX
Basic concept of process
PPTX
Lecture 2 process
PDF
PPTX
OS-Unit-2-Part-1.pptx
PDF
UNIT-2-Process-Management.pdf
PDF
Comprehensive Introduction to Operating Systems and Their Functions
PPTX
Operating System Process Scheduling.pptx
PPTX
Computer organization and aChapter 2.pptx
PPT
Process concept
PPTX
OS - Chapter # 3 for the development of os
PPT
4 process
PDF
Lecture 2- Processes.pdf
PPT
Process Basics.ppt
PPTX
Operating Systems chap 2_updated2.pptx
PPTX
Processes in Operating System
PPTX
Process and thread Management Operating system
PPTX
Operating Systems chap 2_updated2 (1).pptx
PPTX
Process management os concept
PPT
Unit 2 part 1(Process)
Basic concept of process
Lecture 2 process
OS-Unit-2-Part-1.pptx
UNIT-2-Process-Management.pdf
Comprehensive Introduction to Operating Systems and Their Functions
Operating System Process Scheduling.pptx
Computer organization and aChapter 2.pptx
Process concept
OS - Chapter # 3 for the development of os
4 process
Lecture 2- Processes.pdf
Process Basics.ppt
Operating Systems chap 2_updated2.pptx
Processes in Operating System
Process and thread Management Operating system
Operating Systems chap 2_updated2 (1).pptx
Process management os concept
Ad

More from AhsanRazaKolachi (20)

PPTX
Freequency Shift Keying in Digital to Analog Conversion
PPTX
What are Control Units in Computer Architecture
PPTX
Game Theory in operational research slideshare
PPTX
Minimum Weight Spanning Tree in Operational Research
PPTX
stochastic models in operational research
PPTX
Evolution in military technology by ahsan raza
PPTX
Flags register in central processing unit
PPTX
what is System Analyst in Software Development
PPTX
Rapid Application Development in Software Engineering
PPTX
Index registers in Central Processing Unit
PPTX
Data transmission Services in Data Warehouse
PPTX
What is Palindrome in Compiler Design and Tafl
PPTX
Information Technology
PPTX
PPTX
Nelsen ten Heuristics
PPTX
two wordpress plugins
PPTX
Graph in data structures
PPTX
Dynamic Programming Intro in Algorithm Design
PPTX
Statistics and Role of statistics in Computer Science
PPTX
Radio Waves In Computer Communication
Freequency Shift Keying in Digital to Analog Conversion
What are Control Units in Computer Architecture
Game Theory in operational research slideshare
Minimum Weight Spanning Tree in Operational Research
stochastic models in operational research
Evolution in military technology by ahsan raza
Flags register in central processing unit
what is System Analyst in Software Development
Rapid Application Development in Software Engineering
Index registers in Central Processing Unit
Data transmission Services in Data Warehouse
What is Palindrome in Compiler Design and Tafl
Information Technology
Nelsen ten Heuristics
two wordpress plugins
Graph in data structures
Dynamic Programming Intro in Algorithm Design
Statistics and Role of statistics in Computer Science
Radio Waves In Computer Communication

Recently uploaded (20)

PPTX
Introduction to Artificial Intelligence
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
ai tools demonstartion for schools and inter college
PPTX
assetexplorer- product-overview - presentation
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
history of c programming in notes for students .pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
System and Network Administration Chapter 2
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
System and Network Administraation Chapter 3
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Introduction to Artificial Intelligence
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
ai tools demonstartion for schools and inter college
assetexplorer- product-overview - presentation
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Softaken Excel to vCard Converter Software.pdf
history of c programming in notes for students .pptx
Reimagine Home Health with the Power of Agentic AI​
Which alternative to Crystal Reports is best for small or large businesses.pdf
PTS Company Brochure 2025 (1).pdf.......
System and Network Administration Chapter 2
How to Migrate SBCGlobal Email to Yahoo Easily
2025 Textile ERP Trends: SAP, Odoo & Oracle
System and Network Administraation Chapter 3
Digital Systems & Binary Numbers (comprehensive )
Upgrade and Innovation Strategies for SAP ERP Customers
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf

Process , Process states , Process Control Block in Operating Systems

  • 2. What Is Process? • Process is a running program that serves as the foundation for all computation. • Process is something that is currently under execution. So, an active program can be called a Process. For example, when you want to search something on web then you start a browser. So, this can be process.
  • 3. Process States • Process goes through different throughout the lifecycle during the process execution, which is known as process states. • From start to finish, the process goes through a number of stages. A minimum of five states is required. Even though the process could be in one of these states during execution, the names of the states are not standardised throughout its lifecycle.
  • 5. 1. New/Start State: This is the initial state when a process is first started/created. 2. Ready State: The process is waiting to be assigned to a processor. Ready processes are waiting to have the processor allocated to them by the operating system so that they can run. Process may come into this state after Start state or while running it by but interrupted by the scheduler to assign CPU to some other process. 3. Running State: Once the process has been assigned to a processor by the OS scheduler, the process state is set to running and the processor executes its instructions.
  • 6. 4. Wait/ Block State: Process moves into the waiting state if it needs to wait for a resource, such as waiting for user input, or waiting for a file to become available. 5. Terminate State: When a process’s execution is finished, it goes from the run state to the terminate state. The operating systems deletes the process control box (or PCB) after it enters the terminate state.
  • 7. What Is Process Control block? • Process control Block is a data structure used in operating system to store all data related information to the process. • Every process will have its own PCB. • PCB of the process will be stored in main memory.
  • 8. Process Control Block: Process ID Process State Program Counter Priority General purpose Registers File list Device Info Protection Etc.
  • 9. • Process ID : is a unique Identification number which is assigned by the OS at the time of process creation. • Process States : Contains the current state information of the process where it is residing. • Program counter : Contains the address of the next instructions to be executed. • Priority : is a parameter which is assigned by the OS , at the time of process creations. • General purpose Registers : It contains registers information used by the process in order to execute the instructions.
  • 10. • File list : In which CPU maintain a list of files that are being opened by a process. • Device Info : A proper list should be maintained that shows which I/O device is being used by which process. • Protection : It also provide protection to a particular process.