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:
- Process state.
- Program counter.
- CPU registers.
- CPU scheduling information.
- Memory management information.
- Accounting information.
- I/O status information.
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.