Process control block

In this tutorial, you will learn about, the Process control block.

Process control block (PCB):

Process control block used to specify a set of rules through which we can store various information. It stores various information about any file or instructions like name of a process, the status of the process, type of process, Resource allocated for a process, scheduling information, memory specified for the process, install Input-Output devices for a process, process Id. And process size.

PCB occurs when any process or task send for Operating System Gi is a type of process management component supported by the Operating System. It is active at 1st introduction with the process.

Each process is represented in the Operating System by a Process control block (PCB). It contains much information associated with a specific process. This includes:

  1. Process state.
  2. Program counter.
  3. CPU registers.
  4. CPU scheduling information.
  5. Memory management information.
  6. Accounting information.
  7. I/O status information.

Process Scheduling:

The objectives of multi-programming are to have some process running at all times to maximize CPU utilization. For a Uni-process system, there will never be more than one running process. If these are more processes the rest will have to wait until the CPU is free and can be rescheduled.

Comment below if you have queries related to the above topic, Process control block.

See also  Virtual memory management technique