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

What is the advantages for linux, What is the advantages for Linux? ...

What is the advantages for Linux? Runs on old Hardware Low-Cost Linux is fully customizable in all its components Powerful Linux runs on low-end, cheap hardware

Using the editor or debugger, Write a script that will read from a file x a...

Write a script that will read from a file x and y data points in the following format: x   0    y  1 x  1.3  y  2.2 x  2.2  y  6 x  3.4  y  7.4 The format of each line in the

Mechanisms for pick and place industrial robots - robotics, Each group is r...

Each group is required to complete a group assignment on the analysis, modelling and classification of one of the following classes of mechanisms encountered in robotics and indust

Explain why the ROM is a volatile memory, Is the ROM a volatile memory? Exp...

Is the ROM a volatile memory? Explain Ans. No, ROM is a Non-Volatile memory. Programming of ROM includes making of the needed  interconnections at  the time of fabrication and

Enumerate in brief about the intranet security policy, Enumerate in brief a...

Enumerate in brief about the Intranet security policy An Intranet security policy is a very broad topic and it cannot be covered easily in few pages since it differs from situa

Define underflow and overflow, Define underflow and overflow. Underflow...

Define underflow and overflow. Underflow: If the result the arithmetic operation including n-bit numbers is too small to show by n-bits, underflow is said to occur. Overflow

more data items and methods, Create a class called ticket that records the...

Create a class called ticket that records the information of a performance ticket.The class should include at least six data items: performanceId, seatRow, seatNo, class, price, da

What are the advantages of using structure in c program, What are the advan...

What are the advantages of using structure in C Program Declaring a struct is a two-stage process. The first stage defines a new data type that has the required structure which

Explain difference between space and time division switching, Through two b...

Through two block diagrams explain the difference between Space division and time division switching. Space and Time Switching: Space Switches: Connections can be made i

Demostrate the example of spreadsheet, Now consider the following spreadshe...

Now consider the following spreadsheet: Formula in cell D2 is = (B2/C2) Replicating this formula (by highlighting then drag down to D7) gives all the formulas needed in cell

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