process control block

14,406 views 11 slides Nov 09, 2016
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

simple and easy to understand my presentation....hope it will help someone


Slide Content

Presentation on process control block VIKAS KUMAR SHRIVASTAVA BCA HONOURS First Year BCAH1CA-16023 1

What is process control block ? 2

Process Control Block Each & every process in the operating system is represented by PROCESS CONTROL BLOCK. Process Control Block also known as Task Controlling Block or Process Table. 3

Process Control Block 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” 4

Block diagram of PCB 5

PROCESS CONTROL BLOCK (PCB) PCB consist of following information~ Pointer . Process state . Program counter . CPU register . CPU scheduling information . Memory management information . Accounting information . I/O status information . 6

PROCESS CONTROL BLOCK (PCB) 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 7

PROCESS CONTROL BLOCK (PCB) 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 8

PROCESS CONTROL BLOCK (PCB) 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. 9

PROCESS CONTROL BLOCK (PCB) 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. 10

11
Tags