What is a process control block?, Operating System

Assignment Help:

What is a Process Control Block?

Every process in the operating system is represented by a process control block as well called a task control block. It contains several pieces of information associated with a specific process such as

  • Process state: The state perhaps new, ready, running, and waiting, halted and etc.
  • Program counter: The counter point to the address of the next instruction to be executed for this process.
  • CPU registers: The registers differ in number and type, depending on the computer architecture. They comprise index registers, accumulators, stack pointers and general purpose registers plus any condition code information. Along with PC, this state information has to be saved when an interrupt occurs, to permit the process to be continued correctly afterward.
  • CPU scheduling information: This information comprises a pointer to scheduling queues, process priority and any other scheduling parameters.
  • Memory management information: this information may comprise such information as the value of the base and limit registers the page tables or the segment tables depending on the memory system used by the OS.
  • Accounting information: It comprise information about the amount of CPU and time limits, account numbers, real time used, job or process numbers and so on.
  • I/O status information: The information comprises the list of I/O devices allocated to this process, a list of open files and so on.

 


Related Discussions:- What is a process control block?

What are the differences between process and thread, What are the differenc...

What are the differences between process and thread? The fundamental difference between a process and a thread is that a process has an entire copy of the program to itself and

Explain the exit (status) function, Explain the Exit (status) Function  ...

Explain the Exit (status) Function  Exit function causes the calling process to be terminated. Actually, all file descriptors are immediately closed but the process is   not

Processes, draw a state diagram showing the transissions of a process from ...

draw a state diagram showing the transissions of a process from creation to termination

Advanced synchronization in operating system, Recall that condition variabl...

Recall that condition variables are synchronization primitives that enable threads to wait until a particular condition occurs. Generalizing, the combination of locks and condit

Kernel, 1. What must a kernel provide for an effective user-level thread im...

1. What must a kernel provide for an effective user-level thread implementation? 2. With respect to the quantum q in a scheduling algorithm, explain and discuss the impact of the

Multiprogramming, explain how response time are reduced by allowing time sh...

explain how response time are reduced by allowing time sharing on top of multiprogramming

What is the use of inter process communication, What is the use of inter pr...

What is the use of inter process communication. Inter process communication gives a mechanism to allow the co-operating process to communicate with each other and synchronies t

Paging, protection in paging

protection in paging

What is belady anomaly, What is Belady's anomaly When plotting on a g...

What is Belady's anomaly When plotting on a graph the page faults versus the number of available frames. We notice that the number of faults for four frames is greater than th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd