Write a short note on pcb, Operating System

Assignment Help:

Write a short note on PCB?

Every process is represented in the operating system by a process control block also called a task control block. It contains more information regarding the process.

Process state- the status may be new, ready, running, and waiting, halted and so on.

Program counter- the counter picks out the address of the next instruction to be executed for this process.

CPU Registers: together with the program counter this state information should be saved when an interrupt take place, to permit the process to be continued correctly afterward.

Memory management information: comprise value of the segment tables or page tables, base and limit registers, depending on the memory system used by the OS.

Accounting information: comprise the amount of CPU and real time used, time limits, account numbers, job or process numbers, and etc.

I/O status information: Comprise the list of I/O devices allocated to this process, a list of open files and so on.

 


Related Discussions:- Write a short note on pcb

Describe the purpose of the open and close operations, Q. Describe the pur...

Q. Describe the purpose of the open() and close() operations. Answer: The open() operation notifies the system that the named file is about to become active. The c

Thread, advantages and disadvantages of kernal level thread

advantages and disadvantages of kernal level thread

Explain two level directory, Two Level Directory This kind of structure...

Two Level Directory This kind of structure overcomes the problems of assigning unique names to the files. Thus there need not be any confusion among users. In this kind of s

Write a script in linux to match a data directory, Write a script that uses...

Write a script that uses this idea to print output similar to the following: Files in this directory that match *~ : bash-scripts.html~ chimpanzee~ countdown~ countd

Unix, UNIX Shell and History feature. 1.Creating a child process. 2.Creatin...

UNIX Shell and History feature. 1.Creating a child process. 2.Creating a history feature. Its exactly "programming project 1 - Unix Shell and History Feature (p.157-159)" in the Si

Explain general graph directory, General graph directory The serious pr...

General graph directory The serious problem with using an acyclic-graph structure is ensuring that there are no cycles. When we insert links to an existing tree-structured dire

Search and print between two words/patterns, what if we need the portion fr...

what if we need the portion from a text based on some keyword. For eg. My file is like below, ------------------------------------------------ Order=[ 1 2 3 4 5 Order=[ 6 7 8 9

What are the methods for handling deadlocks, What are the methods for handl...

What are the methods for handling deadlocks? The deadlock problem can be dealt with in one of the three ways: a. Use a protocol to prevent or avoid deadlocks, ensuring that

Linux, write a linux command to display lines from 25 - 45 of directory "/e...

write a linux command to display lines from 25 - 45 of directory "/edc/password" write a linux command to display directory in /edc

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