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?

Explain general graph directory structure, General Graph Directory A s...

General Graph Directory A serious trouble with using an acyclic graph structure is making sure that there are no cycles. When links are further added to an existing tree struc

Explain lru approximation page replacement in detail, LRU approximation pag...

LRU approximation page replacement In this we utilize the reference bit associated with the page entry to choose a page to be removed. The various algorithms used for the imp

Write a short note about schedulers, Write a short note about schedulers. ...

Write a short note about schedulers. Processes migrate between the various scheduling queues throughout its life time. The operating system should select for scheduling purpose

Define deadlock prevention, Define deadlock prevention. Deadlock preve...

Define deadlock prevention. Deadlock prevention is a set of process for ensuring that at least one of the four essential conditions like mutual exclusion, hold and wait, no pr

Operating system as user interface, Q. Operating System as User Interface? ...

Q. Operating System as User Interface? • Every general purpose computer comprises the operating system, hardware, system programs and application programs. The hardware compris

Evolution of operating system, breifly write a note on about evolution of o...

breifly write a note on about evolution of operating system?

What is a process control block?, What is a Process Control Block? Ever...

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

Distinguish between long and short term scheduler, Question 1: a) Disti...

Question 1: a) Distinguish between "Long-Term Scheduler" and "Short-Term Scheduler". b) Describe the benefits of "Threads". c) Name three types of CPU Scheduling. Que

Explain how protection is provided for the hardware resource, Explain how p...

Explain how protection is provided for the hardware resources by the operating system. Dual mode operation Sharing system resources needs operating system to make sure

Benefits of virtual memory, Q.  When virtual memory is executed in a comput...

Q.  When virtual memory is executed in a computing system there are convinced costs associated with the technique and certain benefits. List the costs as well as the benefits. Is i

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