SlideShare a Scribd company logo
1 of 8
Process
Control Block
This Photo by Unknown author is licensed under CC BY-SA.
Process Control
Block
• The process control
block represents a process in the
operating system. A process
control block is also known as a
task control block. It’s a
repository of information
associated with a
specific process.
Location
PCB must be kept in an area of memory protected from normal process
access. In some operating systems the PCB is placed at the bottom of the
process stack.
Role of PCB
Structure of Process Control Block
Process ID
Process State
Process Privileges
Accounting information
Program Counter
CPU registers
CPU Scheduling Information
I/O status information
Pointer
• Process ID: When a new process is created by
the user, the operating system assigns a unique
ID i.e a process ID to that process.
• Process State: A process, from its creation to
completion goes through different states.
Generally, a process may be present in one of
the 5 states during its execution
• Process Privileges: This allows/disallows access
to system resources.
• Accounting Information: This attribute gives
the information of the resources used by that
process in its lifetime. For Example: CPU time
connection time, etc.
• Program Counter: The program counter is a
pointer that points to the next instruction in the
program to be executed.
• CPU Registers: A CPU register is a quickly
accessible small-sized location available to the
CPU. These registers are stored in virtual
memory(RAM).
• CPU Scheduling Information: Stores process
priority and other scheduling information
necessary for scheduling a process
• I/O status information: In this field, the list of
all the input/output devices which are required by
that process during its execution is mentioned.
• Pointer: This field contains the address of the
next PCB, which is in ready state.
5 marks ajayenge ab
Bye Bye!

More Related Content

Similar to Process Control Block.pptx

Operating Systems chap 2_updated2 (1).pptx
Operating Systems chap 2_updated2 (1).pptxOperating Systems chap 2_updated2 (1).pptx
Operating Systems chap 2_updated2 (1).pptx
Amanuelmergia
 
Operating Systems chap 2_updated2.pptx
Operating Systems chap 2_updated2.pptxOperating Systems chap 2_updated2.pptx
Operating Systems chap 2_updated2.pptx
Amanuelmergia
 

Similar to Process Control Block.pptx (20)

Pcb
PcbPcb
Pcb
 
Chap3.ppt
Chap3.pptChap3.ppt
Chap3.ppt
 
UNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdfUNIT-2-Process-Management.pdf
UNIT-2-Process-Management.pdf
 
OS Chapter03
OS Chapter03OS Chapter03
OS Chapter03
 
Unit 2 part 1(Process)
Unit 2 part 1(Process)Unit 2 part 1(Process)
Unit 2 part 1(Process)
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
 
My ppt @ bec doms on process management
My ppt @ bec doms on process managementMy ppt @ bec doms on process management
My ppt @ bec doms on process management
 
Processes description and process control.
Processes description and process control.Processes description and process control.
Processes description and process control.
 
process control block
process control blockprocess control block
process control block
 
process control block
process control blockprocess control block
process control block
 
Operating System-Concepts of Process
Operating System-Concepts of ProcessOperating System-Concepts of Process
Operating System-Concepts of Process
 
Process
ProcessProcess
Process
 
Process management1
Process management1Process management1
Process management1
 
OS-Unit-2-Part-1.pptx
OS-Unit-2-Part-1.pptxOS-Unit-2-Part-1.pptx
OS-Unit-2-Part-1.pptx
 
Unit 2_OS process management
Unit 2_OS process management Unit 2_OS process management
Unit 2_OS process management
 
Basic concept of process
Basic concept of processBasic concept of process
Basic concept of process
 
Process concept
Process conceptProcess concept
Process concept
 
Operating Systems chap 2_updated2 (1).pptx
Operating Systems chap 2_updated2 (1).pptxOperating Systems chap 2_updated2 (1).pptx
Operating Systems chap 2_updated2 (1).pptx
 
Chapter03
Chapter03Chapter03
Chapter03
 
Operating Systems chap 2_updated2.pptx
Operating Systems chap 2_updated2.pptxOperating Systems chap 2_updated2.pptx
Operating Systems chap 2_updated2.pptx
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Process Control Block.pptx

  • 1. Process Control Block This Photo by Unknown author is licensed under CC BY-SA.
  • 2. Process Control Block • The process control block represents a process in the operating system. A process control block is also known as a task control block. It’s a repository of information associated with a specific process.
  • 3. Location PCB must be kept in an area of memory protected from normal process access. In some operating systems the PCB is placed at the bottom of the process stack.
  • 5. Structure of Process Control Block Process ID Process State Process Privileges Accounting information Program Counter CPU registers CPU Scheduling Information I/O status information Pointer
  • 6. • Process ID: When a new process is created by the user, the operating system assigns a unique ID i.e a process ID to that process. • Process State: A process, from its creation to completion goes through different states. Generally, a process may be present in one of the 5 states during its execution • Process Privileges: This allows/disallows access to system resources. • Accounting Information: This attribute gives the information of the resources used by that process in its lifetime. For Example: CPU time connection time, etc.
  • 7. • Program Counter: The program counter is a pointer that points to the next instruction in the program to be executed. • CPU Registers: A CPU register is a quickly accessible small-sized location available to the CPU. These registers are stored in virtual memory(RAM). • CPU Scheduling Information: Stores process priority and other scheduling information necessary for scheduling a process • I/O status information: In this field, the list of all the input/output devices which are required by that process during its execution is mentioned. • Pointer: This field contains the address of the next PCB, which is in ready state.
  • 8. 5 marks ajayenge ab Bye Bye!