Describe the contents of a process control block, Computer Engineering

Assignment Help:

Describe the contents of a Process Control Block (PCB).

Process Control Block (PCB): All processes are represented in the operating system by a task control block or a process control block.

This contains many pieces of information connected with an exact process such as:

(1) Process state: The state may be new, ready and halted and running, and waiting and so on.

 (2) Program counter: The counter shows the address of the next instruction to be executed for such process.

(3) CPU registers: The registers vary in number and category, depending upon the computer architecture. They contain accumulators, stack pointers, index registers and general- purpose registers, plus some condition-code information.  With the program counter, this state information should be saved while and interrupt occurs, to permit the process to be continued properly afterward.

2296_Process Control Block.png

Figure: Process Control Block(PCB)

(4) CPU-scheduling information: This information contains a process priority, pointers to scheduling queues and other scheduling parameters.

(5) Memory-management information: This information may contain such information as the value of the base and limit registers and the page tables, or else the segment tables, depending upon the memory system utilized by the OS.

(6) Accounting information: This information contains the amount of CPU and real time utilized, and time limits, job or process numbers, account numbers and so on.

(7) I/O status information: The information contains the list of I/O devices allocated to such process, a list of open files etc.

The PCB only functions as the repository for any information which may vary from process to process.


Related Discussions:- Describe the contents of a process control block

Determine the level of state decomposition, Determine the level of state de...

Determine the level of state decomposition The level of state decomposition must be determined by judgement. A too fine grained model is unsuitable, such as, modelling all poss

What is master slave kernel, Q. What is Master slave kernel? Master sl...

Q. What is Master slave kernel? Master slave kernel: In this model just one of processors is assigned as Master.  The master is in charge for subsequent activities:  i)

What are the uses of interrupts, What are the uses of interrupts?  ...

What are the uses of interrupts?  Recovery from errors Debugging Communication among programs Use of interrupts in operating system

Crafting an isa - computer architecture, Crafting an ISA: We will l...

Crafting an ISA: We will look at some decisions facing an instruction set architect, and In the design of the MIPS instruction set how those decisions were made. MIPS

Fact Finding, What and why use fact finding.

What and why use fact finding.

Project, the project database is avilable?

the project database is avilable?

Complicated question, Hi I need a help in this question : A telephone sw...

Hi I need a help in this question : A telephone switchboard handles ? calls on average during a rush hour, and the switchboard can at most make k connections per minute. Write a

Explain policies for process scheduling, Explain any three policies for pro...

Explain any three policies for process scheduling that uses resource consumption information. All three policies for process scheduling are explained below in brief: 1. Fi

Android mobile application, Students are needed to work in group of 3 and m...

Students are needed to work in group of 3 and make an Android mobile application falling under the following categories: Multimedia o    Eg: Camera app, mp3 player, ga

What do you mean by complexity of an algorithm, What do you mean by complex...

What do you mean by complexity of an algorithm? The term complexity is used to define the performance of an algorithm. Typically performance is calculated in terms of time or s

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