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?

Define loader that executed when system is first turned on, Define a loader...

Define a loader that is executed when a system is first turned on or restarted? Bootstrap loader is executed when a system is first turned on or restarted

Reference counting, The idea of reference counting is to maintain, for ever...

The idea of reference counting is to maintain, for every object, the total number of references to that object, i.e. the number of "incoming" pointers. Whenever the number of refer

Data transfer between two processes, Q. Data transfer between two processes...

Q. Data transfer between two processes? Communication: Data transfer between two processes is essential for some time. Both processes are on the one computer or on different

Define a policy for data storage, Produce a referenced four page report whi...

Produce a referenced four page report which describes the possible functionality of the system; similar systems that are out there and different possible approaches to delivering t

Multiprogramming, ? FREE ASSOCIATION ASSIGNMENTS of multiprograming

? FREE ASSOCIATION ASSIGNMENTS of multiprograming

Operation managmant, what is the function of operation management?

what is the function of operation management?

We can view an operating system as a resource allocator, We can view an ope...

We can view an operating system as a resource allocator. Explain. We can outlook an operating system as a resource allocator. A computer system has Many resources (software and

Shell scripting, A friend has promised to log in at a particular time. Howe...

A friend has promised to log in at a particular time. However, he needs to be contacted as soon as he logs in. The shell script checks after every minute whether he has logged in o

What is indexed allocation, What is indexed allocation? Every file has ...

What is indexed allocation? Every file has its own block of pointers to the sectors of the file.

Hj, scheduling

scheduling

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