Process Control Block In Operating System

Explain Process Control Block (PCB) In Details, What Is Process Control Block In Operating System

In This Topic & Blog Having Any Query Then Post your Comment and Suggestion Below

Process Control Block (PCB)
– Each process is represented in the Operating
System by its own process control block(PCB).
– A Process Control Block is a data block, it
consists the all information of a specific process.
– The PCB is a central store of information that
allows the operating system to locate all the key
information about the process.
– The operating system uses this information and
performs the operations on the process.

–The operations include
• Suspend a process
• Resume a process
• Change the process priority
• Dispatch a process and so on.

Information associated with each process
• Process state
• Program counter
• CPU registers
• CPU scheduling information
• Memory-management information
• Accounting information
• I/O status information

Process Control Block
– Process State: The state may be new, ready, waiting,
running, terminated etc.
– Program Counter : The counter indicates the address of
the next instruction to be executed for this process.
– CPU registers: The registers vary in number, size and
type, depending upon the computer architecture. They
include accumulators, index registers, flags, stack
pointers and other general purpose registers, plus any
condition code information.
– CPU Scheduling Information: This information
includes a process priority, pointers to scheduling
queues and any other scheduling parameters.
– Memory Management Information: This information
includes the value of base and limit registers, the page
or segment tables, depending upon the memory
management scheme used by the operating system.
– Accounting Information : This information includes the
amount of CPU and real time used, time limits, job on
process numbers and so on.
– Input/output Information: The information includes the
list of input/output devices allocated to this process, a
list of open files and so on.


Labels: