Process Control Block
Process Control Block
Block
It is very important for process management as the data structuring for processes is
done in terms of the PCB. It also defines the current state of the operating system.
Process State
This specifies the process state i.e. new, ready, running, waiting or
terminated.
Process Number
This shows the number of the particular process.
Program Counter
This contains the address of the next instruction that needs to be
executed in the process.
Registers
This specifies the registers that are used by the process. They may include
accumulators, index registers, stack pointers, general purpose registers etc.
1
CPU Scheduling Information
The process priority, pointers to scheduling queues etc. is the CPU scheduling
information that is contained in the PCB. This may also include any other scheduling
parameters.
Accounting information
The time limits, account numbers, amount of CPU used, process numbers etc. are all a
part of the PCB accounting information.