TEchMyEducation

easy tech learning...

process control block operating system

4 comments

process control block operating system
process control block operating system

The PCB's full name is the process control block. It is also called task control block.
PCB is a data structure maintained by the operating system for each process or task.
PCB is a data structure used to store various processes information.
Process control block which is very important in multi-programming, because in many programming, many summary processes run simultaneously simultaneously, it stores information about those processes.

process control block operating system
PCB stores the following information: -

  • Process name
  • State of process, that is what its current state is like: - running, waiting, ready etc.
  • Process resources
  • Memory (which is provided to the process)
  • The input and output devices used by the process
  • process ID, (There is a unique indentification to indentify each process in the operating system.)
  • scheduling information
  • file management information

process control block operating system
description of process control block components: -
process control block operating system

The components of the process control block operating system are as follows: -
1: - Process ID: - There is a unique ID of each process running in the computer system with multiple summary processes at one time.
Scheduling system processes with the help of this ID. This ID is made available through PCB.
Simply it is a unique ID  used to uniquely identify process in OS

2: - Process state: - Each process has one state, such as: - new, ready, running, waiting, halted etc.
The process control block defines the state of each process.
3: - CPU registers: - How many types of registers can be done, because the number of registers and types of the CPU Depends on the architecture of. It covers accumulators, index registers, stack pointers and general purpose registers and so on.
4: - program counter: - program counter, the next instruction address that is executing for the process is stored.
5: - CPU scheduling information: -CPU scheduling information is used to set the priority of the processes.
6: - memory management info: - This page table, segment table, base register and store information for the limit registers.
7: - accounting information: - Includes CPU utilization, process execution time, number of processes and account no. There are information stores in the form of etc.
8: - I / O status information: - It stores information about the input and output devices that are allocated to the process.

4 comments :