5
Most read
7
Most read
10
Most read
Understand Process Management
      : Process Control Blocks




HOME     PREVIOUS TOPIC NEXT
PREVIOUS QUESTION PAPERS FOR OS
CPP TUTORIALS




                                  1
Recap


In the last class, you have learnt

• Process, Process State Diagram

• Sequential Process




                                     2
Objectives

 On completion of this period, you would be able to
  know

• Understand the Structure of Process Control Block




                                                      3
Process Control Block

• Each process is represented in the operating
  system by a Process control block ( PCB )
• PCB is also called a Task Control Block

• PCB contains specific information associated to
  a process
• PCB consisting of various information is shown
  in next slide
                                                 4
Process Control Block ( PCB )




                                5
Process Control Block ( PCB )
Process control block consists of following information:
• Pointer
• Process state
• Process number
• Program counter
• CPU Register
• CPU-Scheduling Information
• Memory-Management Information
• Accounting Information
• I/O status Information
                                                           6
Process Control Block ( PCB )
Pointer
• It contains the address of another process which is
present in the ready queue
Process State
•It contains information about the state of the process i.e.,
   •New
   •Ready
   •Running
   •Waiting
   •Halted                                                      7
Process Control Block ( PCB )

Program counter

•The address of the next instruction to be executed

CPU Registers

•The registers vary in no. and type depending on the
type of computer architecture, they include:
   •Accumulators, index registers, stack pointers and general
   purpose registers
                                                                8
Process Control Block ( PCB )
CPU scheduling information
• This information includes
   – Process priority
   – Pointer to scheduling queues
   – Other scheduling parameters

Memory management information
• This information includes
   – Value of base and limit registers
   – Page tables
   – Segment tables                        9
Process Control Block ( PCB )

Accounting information:
•This information includes
   •Amount of CPU and real time used
   •Time limits
   •Account numbers
   •Job or Process no.s etc.
I/O status information
•This information includes
   •List of I/O devices allocated to the process
   •List of open files, etc
                                                   10
CPU Switch from Process to Process
    Process 0                                         Process 1

executing
                             Save state into PCB0


                                                             idle


                            Reload state from PCB1

            idle   Interrupt or system call               executing


                              Save state into PCB1


                                                               idle

                             Reload state from PCB0
executing

                                                                    11
Summary

In this class, you have learnt

• The structure of a Process Control Block

• Various pieces of information associated with a specific
  process
• The sequence of activities that occur when CPU
  switches from process to process


                                                      12
Quiz
1. PCB stands for process control board
  a) True
  b) False
2.Process control block does not contain any
    information about process state .
  a) True
  b) False
3.The information stored in a PCB varies from
    process to process.
  a) True
  b) False
                                                13
Frequently Asked Questions


1. Explain the structure of a process control

    block with the help of a diagram.




                                                14
Other subject materials
•   Web designing
•   Micro processors
•   C++ tutorials
•   java

home

More Related Content

PPTX
SCHEDULING ALGORITHMS
PDF
Memory management
PPTX
Interrupts
PPTX
Shortest Job First
PPTX
Cpu scheduling in operating System.
PDF
CPU Scheduling
PPTX
Computer architecture memory system
PPT
Process management in os
SCHEDULING ALGORITHMS
Memory management
Interrupts
Shortest Job First
Cpu scheduling in operating System.
CPU Scheduling
Computer architecture memory system
Process management in os

What's hot (20)

PDF
OS - Process Concepts
PPT
6 multiprogramming & time sharing
PPT
multiprocessors and multicomputers
PPTX
Semophores and it's types
PPTX
Presentation on risc pipeline
PPTX
Process state in OS
PPTX
process control block
PDF
Address Binding Scheme
PPTX
Cache coherence
PPTX
Process control block(PCB)
PPT
Input output module
PPT
Scheduling algorithms
PPTX
MULTILEVEL QUEUE SCHEDULING
PDF
Computer organization memory
PPT
Disk scheduling
PPTX
Semaphore
PPT
Classical problem of synchronization
PPTX
Os unit 3 , process management
PPTX
INTERCONNECTION STRUCTURE
OS - Process Concepts
6 multiprogramming & time sharing
multiprocessors and multicomputers
Semophores and it's types
Presentation on risc pipeline
Process state in OS
process control block
Address Binding Scheme
Cache coherence
Process control block(PCB)
Input output module
Scheduling algorithms
MULTILEVEL QUEUE SCHEDULING
Computer organization memory
Disk scheduling
Semaphore
Classical problem of synchronization
Os unit 3 , process management
INTERCONNECTION STRUCTURE
Ad

Similar to 12 process control blocks (20)

PPTX
process control block
PPTX
Process block Control.pptx
PDF
Process
PPTX
UNIT I-Processes.pptx
PPTX
OS_Unit II - Process Management_CATI.pptx
PPTX
Process Control Block.pptx
PPTX
Operating system || Chapter 3: Process
PPTX
process control blockPcb
PPTX
Lecture-4.1-Operating-System.pptx
PPTX
Program control board in Operating System
PPT
4 process
DOCX
Process part 1
DOC
Operating Systems Unit Two - Fourth Semester - Engineering
PDF
Unit 2 part 1(Process)
PPTX
ch2nvbjdvsbjbjfjjfjf j Process Mangement.pptx
DOC
Lesson 7 Process Control Block
PDF
UNIT-2-Process-Management.pdf
PPTX
PCB_6609.pptx
process control block
Process block Control.pptx
Process
UNIT I-Processes.pptx
OS_Unit II - Process Management_CATI.pptx
Process Control Block.pptx
Operating system || Chapter 3: Process
process control blockPcb
Lecture-4.1-Operating-System.pptx
Program control board in Operating System
4 process
Process part 1
Operating Systems Unit Two - Fourth Semester - Engineering
Unit 2 part 1(Process)
ch2nvbjdvsbjbjfjjfjf j Process Mangement.pptx
Lesson 7 Process Control Block
UNIT-2-Process-Management.pdf
PCB_6609.pptx
Ad

More from myrajendra (20)

PPT
Fundamentals
PPT
Data type
PPTX
Hibernate example1
PPTX
Jdbc workflow
PPTX
2 jdbc drivers
PPTX
3 jdbc api
PPTX
4 jdbc step1
PPTX
Dao example
PPTX
Sessionex1
PPTX
Internal
PPTX
3. elements
PPTX
2. attributes
PPTX
1 introduction to html
PPTX
Headings
PPTX
Forms
PPT
PPTX
Views
PPTX
Views
PPTX
Views
PPT
Starting jdbc
Fundamentals
Data type
Hibernate example1
Jdbc workflow
2 jdbc drivers
3 jdbc api
4 jdbc step1
Dao example
Sessionex1
Internal
3. elements
2. attributes
1 introduction to html
Headings
Forms
Views
Views
Views
Starting jdbc

Recently uploaded (20)

PDF
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Computer Architecture Input Output Memory.pptx
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Complications of Minimal Access-Surgery.pdf
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
advance database management system book.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
MBA _Common_ 2nd year Syllabus _2021-22_.pdf
Cambridge-Practice-Tests-for-IELTS-12.docx
Computer Architecture Input Output Memory.pptx
My India Quiz Book_20210205121199924.pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Complications of Minimal Access-Surgery.pdf
Environmental Education MCQ BD2EE - Share Source.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Unit 4 Computer Architecture Multicore Processor.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
History, Philosophy and sociology of education (1).pptx
Weekly quiz Compilation Jan -July 25.pdf
advance database management system book.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
TNA_Presentation-1-Final(SAVE)) (1).pptx
B.Sc. DS Unit 2 Software Engineering.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf

12 process control blocks

  • 1. Understand Process Management : Process Control Blocks HOME PREVIOUS TOPIC NEXT PREVIOUS QUESTION PAPERS FOR OS CPP TUTORIALS 1
  • 2. Recap In the last class, you have learnt • Process, Process State Diagram • Sequential Process 2
  • 3. Objectives On completion of this period, you would be able to know • Understand the Structure of Process Control Block 3
  • 4. Process Control Block • Each process is represented in the operating system by a Process control block ( PCB ) • PCB is also called a Task Control Block • PCB contains specific information associated to a process • PCB consisting of various information is shown in next slide 4
  • 6. Process Control Block ( PCB ) Process control block consists of following information: • Pointer • Process state • Process number • Program counter • CPU Register • CPU-Scheduling Information • Memory-Management Information • Accounting Information • I/O status Information 6
  • 7. Process Control Block ( PCB ) Pointer • It contains the address of another process which is present in the ready queue Process State •It contains information about the state of the process i.e., •New •Ready •Running •Waiting •Halted 7
  • 8. Process Control Block ( PCB ) Program counter •The address of the next instruction to be executed CPU Registers •The registers vary in no. and type depending on the type of computer architecture, they include: •Accumulators, index registers, stack pointers and general purpose registers 8
  • 9. Process Control Block ( PCB ) CPU scheduling information • This information includes – Process priority – Pointer to scheduling queues – Other scheduling parameters Memory management information • This information includes – Value of base and limit registers – Page tables – Segment tables 9
  • 10. Process Control Block ( PCB ) Accounting information: •This information includes •Amount of CPU and real time used •Time limits •Account numbers •Job or Process no.s etc. I/O status information •This information includes •List of I/O devices allocated to the process •List of open files, etc 10
  • 11. CPU Switch from Process to Process Process 0 Process 1 executing Save state into PCB0 idle Reload state from PCB1 idle Interrupt or system call executing Save state into PCB1 idle Reload state from PCB0 executing 11
  • 12. Summary In this class, you have learnt • The structure of a Process Control Block • Various pieces of information associated with a specific process • The sequence of activities that occur when CPU switches from process to process 12
  • 13. Quiz 1. PCB stands for process control board a) True b) False 2.Process control block does not contain any information about process state . a) True b) False 3.The information stored in a PCB varies from process to process. a) True b) False 13
  • 14. Frequently Asked Questions 1. Explain the structure of a process control block with the help of a diagram. 14
  • 15. Other subject materials • Web designing • Micro processors • C++ tutorials • java home