Thursday, 10 May 2018

What is Process Control Block in Operating System?

What is Process Control Block in Operating System?:


Process control block (PCB):

   PCB contain the information about process. Or
PCB is a data structure which contains information of process.

process control block diagram image


Pointer: it used to switching in between the process.

Process state: each process either new/ ready/ running /wait/ terminate.

Program counter: contains the address of the next instruction that are to be executed.

Register: every process have some registers to achieve special functionality. Many type of Register are used like, Tag, Flag, Index & stack register are used.

Memory Limit: it contains base address of the memory & limit of memory.

Accounting: all the log information are store .

List of open file: how many files are open (use) for this process & how many resources are used

No comments:

Post a comment

Popular Posts