Process Control Block

PCB (process control block): –

The PCB’s full name is the process control block. This is also called a task control block.

PCB is a data structure that is maintained by the operating system for each process or task.

In other words, “process control block (PCB) is a data structure used to store information of processes.”

Use of Process Information CPU Is done in runtime.

PCB is identified by an integer process ID (PID).

The process control block which is very important in multi-programming, because in many of the processes in multi-programming run simultaneously, at a time programming, it stores information about those processes.

image of process control block
Process Control Block

PCB stores the following information: –

Process name

Process state, that is what its current state is like: – running, waiting, ready, etc.

Process Resources

Memory (which is provided to the process)

Input and output devices used by the process

Process ID, (There is a unique identifier to identify each process in the operating system.)

Scheduling information

file management information

description of process control block components: –

The components of the process control block are as follows: –

1: Pointer: – The process for which we are creating PCB is the structure that the process connects with the child process or the parent process that the pointer points to.

2: Process ID: –If a computer runs a lot of processes simultaneously at a time, each process has a unique ID, with the help of this ID the system process that scheduling the ID. The ID is made available through PCB.

Simply put, “It is an identification number to identify each process in the operating system.”

3: Process state: – Each process has one state, such as – new, ready, running, waiting, halted, etc.

process control block Defines the state of each process.

4: CPU registers: – How many types of registers can be done because the number of registers and types of CPUs Depends on the architecture of. This includes accumulators, index registers, stack pointers, and general-purpose registers, etc.

5: –Program counter: – program counter, the next instruction address to execute for the process is stored.

6: CPU scheduling information: – CPU scheduling information is used to set the priority of the processes.

7: – Memory management info: – This page table, segment table, base register, and store information about the limit registers.

8: –Accounting information: – Includes CPU utilization, process execution time, number of processes and account no. There is information stored in the about of etc.

9: I / O status information: – It stores information about allocated input and output devices in the process.

11 thoughts on “Process Control Block”

  1. I have been browsing on-line more than three hours nowadays, yet I never discovered any attention-grabbing article like yours. It?¦s beautiful price sufficient for me. In my opinion, if all site owners and bloggers made good content as you probably did, the net will probably be much more helpful than ever before.

  2. After looking into a number of the articles on your website, I seriously appreciate
    your technique of blogging. I bookmarked it to my bookmark site list and will be checking
    back in the near future. Take a look at my website as well and tell me what you think.

  3. This is very interesting, You are a very skilled blogger.

    I’ve joined your rss feed and look forward to seeking more of
    your magnificent post. Also, I’ve shared your
    web site in my social networks!

Leave a Reply

Your email address will not be published. Required fields are marked *