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 are the ways to create a new form, What are the ways to create a new f...

What are the ways to create a new form? You can make a new form in any of the following three ways: Using AutoForm: You can make a form based on a single table or query qui

Kruskal''s, Image Segmentation with Minimum Spanning Forests (50 points). D...

Image Segmentation with Minimum Spanning Forests (50 points). Develop a Python 3 implementation of the image segmentation algorithm that we explored on the first day of class. Your

Performance instrumentation, The performance instrumentation states on how ...

The performance instrumentation states on how to efficiently gather information about the computation of the parallel computer. The process of instrumentation mainly attempts to ca

What do you mean by digital computer, COMPUTER ORGANIZATION & ARCHITECTURE ...

COMPUTER ORGANIZATION & ARCHITECTURE 1. What do you mean by digital computer? Explain the block diagram of a digital computer. 2. What do you mean by Difference Engine? Expl

Illustrate shift micro-operations, Q. Illustrate Shift Micro-operations? ...

Q. Illustrate Shift Micro-operations? Shift is a valuable operation that can be used for serial transfer of data. These operations can also be used along with other (arithmetic

Provide constructors, For this assignment, fill out the following class:   ...

For this assignment, fill out the following class:   class person { private:   string firstName;   string lastName;   int weight; public:   . . . }; You should provide cons

Queueing process, explain in detail about queueing process

explain in detail about queueing process

Define abap/4 layer, Define ABAP/4 layer? The ABAP/4 layer defines the ...

Define ABAP/4 layer? The ABAP/4 layer defines the data formats used by the ABAP/4 processor.

What is demand paging, What is major difference between the Historic Unix a...

What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management? Historic Unix uses Swapping - Whole process is tran

What are the central interfaces of the r/3 system, What are the central int...

What are the central interfaces of the R/3 system? There are three central interfaces:- Presentation Interface. Database Interface. Operating system Interface.

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