SlideShare a Scribd company logo
PROCESS
CONTROL BLOCK
WHAT IS PROCESS CONTROL BLOCK ?
PROCESS CONTROL BLOCK
 Each & every process in the operating
system is represented by PROCESS
CONTROL BLOCK
 Process Control Block ~ Task Control
Block or Task Struct
WHAT EXACTLY IS PCB ?
 Its is a data structure in the operating
system kernel containing the information
needed to manage a particular process.
 The PCB is “ the manifestation(visible) of
a process in an operating system”
PROCESSCONTROLBLOCK (PCB)
PROCESS CONTROL BLOCK (PCB)
PCB consist of following information~
 Pointer.
 Process state.
 Process number.
 Program counter.
 CPU register.
 CPU scheduling information.
 Memory management information.
 Accounting information.
 I/O status information.
 POINTER ~ Its contains the address of another
process which is present in the ready queue
 PROCESS STATE ~ Its contains the information
about the state of the process i.e.,
 NEW
 READY
 RUNNING
 WAITING
 HALTED
 program COUNTER ~ The counter specifies
the address of the next instruction to be
executed.
 CPU REGISTERS ~ The register vary in number
and type depending in the type of computer
architecture, they include:
 Accumulators, index register, stack pointer and
general purpose registers
 CPU SHEDULING INFORMATION~ This
information includes
 Process priority
 Pointer to scheduling queues
 Other scheduling parameters.
 MEMORY MANAGEMENT INFORMATION~ This
information includes
 Value of base and limit of registers
 Page tables
 Segment tables
 Depending on the memory system used by the
operating system.
 ACCOUNTING INFORMATION ~ This information
includes
 amount of CPU and real time used
 time limit
 account number
 job or process number etc.
 I/O STATUS INFORMATION ~ This information
includes
 list of I/O devices allocated to the process
 list of open files etc.
Hence, the PCB serves as the
repository for any information that may be vary from process to
process.
process control blockPcb
process control blockPcb

More Related Content

What's hot

Input output organization
Input output organizationInput output organization
Input output organization
abdulugc
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
Slideshare
 

What's hot (20)

Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Input & Output
Input & OutputInput & Output
Input & Output
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
Virtual memory
Virtual memoryVirtual memory
Virtual memory
 
Unit 4-input-output organization
Unit 4-input-output organizationUnit 4-input-output organization
Unit 4-input-output organization
 
Input output organization
Input output organizationInput output organization
Input output organization
 
IO and file systems
IO and file systems IO and file systems
IO and file systems
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Computer registers
Computer registersComputer registers
Computer registers
 
Process in operating system
Process in operating systemProcess in operating system
Process in operating system
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
 
Computer architecture input output organization
Computer architecture input output organizationComputer architecture input output organization
Computer architecture input output organization
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
Accessing I/O Devices
Accessing I/O DevicesAccessing I/O Devices
Accessing I/O Devices
 
Program control
Program controlProgram control
Program control
 
Chapter 2: Microprocessors
Chapter 2: MicroprocessorsChapter 2: Microprocessors
Chapter 2: Microprocessors
 
Computer architecture addressing modes and formats
Computer architecture addressing modes and formatsComputer architecture addressing modes and formats
Computer architecture addressing modes and formats
 

Similar to process control blockPcb

Similar to process control blockPcb (20)

PCB_6609.pptx
PCB_6609.pptxPCB_6609.pptx
PCB_6609.pptx
 
PCB_6609.pptx
PCB_6609.pptxPCB_6609.pptx
PCB_6609.pptx
 
Pcb
PcbPcb
Pcb
 
Process part 1
Process   part 1Process   part 1
Process part 1
 
Process concept
Process conceptProcess concept
Process concept
 
Process Control Block.pptx
Process Control Block.pptxProcess Control Block.pptx
Process Control Block.pptx
 
Process block Control.pptx
Process block Control.pptxProcess block Control.pptx
Process block Control.pptx
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
 
Operating System: process
Operating System: processOperating System: process
Operating System: process
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
CSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptxCSA PPT UNIT 1.pptx
CSA PPT UNIT 1.pptx
 
CPU.pptx
CPU.pptxCPU.pptx
CPU.pptx
 
4 process
4 process4 process
4 process
 
VCE_Process_UNIT-1 (1).pptx
VCE_Process_UNIT-1 (1).pptxVCE_Process_UNIT-1 (1).pptx
VCE_Process_UNIT-1 (1).pptx
 
Advanced Embedded System Subject seminar on SCB,DEBUG,RESET
Advanced Embedded System Subject seminar on SCB,DEBUG,RESETAdvanced Embedded System Subject seminar on SCB,DEBUG,RESET
Advanced Embedded System Subject seminar on SCB,DEBUG,RESET
 
presentation on SCB,DEBUG,RESET of Arm Cortex processor
presentation on SCB,DEBUG,RESET of Arm Cortex processorpresentation on SCB,DEBUG,RESET of Arm Cortex processor
presentation on SCB,DEBUG,RESET of Arm Cortex processor
 
Plc tg fi
Plc tg fiPlc tg fi
Plc tg fi
 
introduction to embedded systems part 1
introduction to embedded systems part 1introduction to embedded systems part 1
introduction to embedded systems part 1
 

Recently uploaded

Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
AbrahamGadissa
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
Kamal Acharya
 

Recently uploaded (20)

Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 
Electrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission lineElectrostatic field in a coaxial transmission line
Electrostatic field in a coaxial transmission line
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
NO1 Pandit Black Magic Removal in Uk kala jadu Specialist kala jadu for Love ...
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Explosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdfExplosives Industry manufacturing process.pdf
Explosives Industry manufacturing process.pdf
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 

process control blockPcb

  • 2.
  • 3. WHAT IS PROCESS CONTROL BLOCK ?
  • 4. PROCESS CONTROL BLOCK  Each & every process in the operating system is represented by PROCESS CONTROL BLOCK  Process Control Block ~ Task Control Block or Task Struct
  • 5. WHAT EXACTLY IS PCB ?  Its is a data structure in the operating system kernel containing the information needed to manage a particular process.  The PCB is “ the manifestation(visible) of a process in an operating system”
  • 7. PROCESS CONTROL BLOCK (PCB) PCB consist of following information~  Pointer.  Process state.  Process number.  Program counter.  CPU register.  CPU scheduling information.  Memory management information.  Accounting information.  I/O status information.
  • 8.  POINTER ~ Its contains the address of another process which is present in the ready queue  PROCESS STATE ~ Its contains the information about the state of the process i.e.,  NEW  READY  RUNNING  WAITING  HALTED
  • 9.  program COUNTER ~ The counter specifies the address of the next instruction to be executed.  CPU REGISTERS ~ The register vary in number and type depending in the type of computer architecture, they include:  Accumulators, index register, stack pointer and general purpose registers
  • 10.  CPU SHEDULING INFORMATION~ This information includes  Process priority  Pointer to scheduling queues  Other scheduling parameters.  MEMORY MANAGEMENT INFORMATION~ This information includes  Value of base and limit of registers  Page tables  Segment tables  Depending on the memory system used by the operating system.
  • 11.  ACCOUNTING INFORMATION ~ This information includes  amount of CPU and real time used  time limit  account number  job or process number etc.  I/O STATUS INFORMATION ~ This information includes  list of I/O devices allocated to the process  list of open files etc. Hence, the PCB serves as the repository for any information that may be vary from process to process.