Give at least five pieces of information stored in the PCB of the process.
PCB is abbreviated for Process Control Block. PCB is a data structure that stores information about different processes.
Different information stored in PCB about a process:-
1) Process State:- stores information about the state of the process, that is, whether the process new, running, waiting, etc.
2) Process Number:- Each process has a number associated with it, also known as Process ID, this stores the process number of the process.
3) Program Counter:- Stores the address of the next instruction to be executed in the process.
4) Registers:- specifies the registers that are being used by the process, for example:- accumulators, stack pointers, etc.
5) I/O status:- list of input/output devices associated with the process.
6) List of Open Files:- files opened by the process.
Note:- Please comment down if you face any problem. :)
Get Answers For Free
Most questions answered within 1 hours.