Professional Documents
Culture Documents
Lipsa 12
Lipsa 12
BRANCH- MCA
Process Control Block
CONTENTS
• INTRODUCTION
• ROLE
• STRUCTURE
• LOCATION
INTRODUCTION
It is a data structure in the os kernel
containing the information needed to
manage the scheduling of a particular
process.
PCB is also called a task control
block.
The PCB is ” manifestation of a
process in an operating system”.
Each and every process in the
operating system is represented by
process control block.
ROLE
The set of the PCB: define structuring for process is
often done in term of PCB.
Data structuring for progress is often done in term of
PCB .
For example, pointer to other PCBs inside a PCB allow
the creation scheduling states (“ ready”, blocked” etc).
STRUCTURE
PCB consists of various information is shown in following
stack
Process number
Program counter
Registers
Memory limits
…………..
PROCESS STATE
It containing information about the state of process I.e
New
Ready
Running
Waiting
Terminating
STACK
Stack is a linear structure . It stored data temporarly.
PROGRESS NUMBER
A unique identification number for each progress in the operating system.
( also known as process id)
PROGRAM COUNTER
It provide the address of the next instruction.
REGISTER
Indicate various register set of CPU where progress need to be stored for
execution for running state.
MEMORY LISTS
This field contains the information about memory
management system used by the OS. This may include page
tables , segment table etc .
LIST OF OPENFILES
It provides the information about files, How many no. of files
are open and closed .
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.
y o u
an k
T h