PCB refers to a data structure that keeps track of information about a specific process.

Example of a process control block.

Example of a process control block.

Process State - State of the process.

Process ID - Unique identifier of the process.

Program Counter - Indicates the address of the next instruction that has to be executed.

Registers - Indicates the registers being used by a specific process.

Scheduling Information - Contains the priority of the process, and the pointers to the scheduling queue.

Memory management information - Represents the memory that is being used by a specific process.

Accounting information - Indicates the resources used by the process such as cpu or memory.

List of open file - Each process necessitates the presence of certain files in the main memory during execution. During the process’s execution, PCB keeps track of the files it uses.