Each process is represented as a process control block (PCB) in the operating system. It contains information associated with specific process.
Process State: It indicates current states of a process. Process state can be new, ready, running, waiting and terminated.
Process number: Each process is identified by its process number, called process identification number (PID).
Program Counter: It indicates the address of the next instruction to be executed for the process.
CPU Registers: The registers vary in number and type depending on the computer architecture. Register includes accumulators, index registers, stack pointers and general purpose registers plus any condition code information.
Memory Management Information: It includes information such as value of base and limit registers, page tables, segment tables, depending on the memory system used by operating system.
Accounting Information: This information includes the amount of CPU used, time limits, account holders, job or process number and so on. It also includes information about listed I/O devices allocated to the process such as list of open files.
0 Comments