Explain about diffrent process state, Operating System

Assignment Help:

Q. Explain about diffrent Process State?

Process State

  • When process executes, it changes its state. Process state is defined as the current activity of the process. Fig belowdisplays the general form of the process state transition diagram. Process state comprises five states. Each process is in one of the states. The states are listed below.

1.  New

2.  Ready

3.  Running

4.  Waiting

5.  Terminated (exist)

1.  New: A process that has just been created.

2. Ready: Ready processes are waiting to have processor allocated to them by the operating system so that they can run.

3.  Running: Process which is currently being executed. A running process possesses all resources required for its execution comprising the processor.

4.  Waiting: A process which can't execute till some event takes place like the completion of an I/O operation. The running process can become suspended by invoking an I/O module.

5.  Terminated: A process that has been released from the pool of executable processes by operating system.

1868_Explain about diffrent Process State.png

Diagram for Process State

  • Whenever processes changes state, the operating system reacts by placing the process PCB in the list that corresponds to its new state. Only one process can be running on any processor at any instant and many processes may be ready and waiting state.

Related Discussions:- Explain about diffrent process state

Define properties of time sharing operating system, Define properties of Ti...

Define properties of Time sharing operating system Time sharing:- T his systems uses CPU scheduling and multiprogramming to provide economical interactive use of a system. The

Memory pages, Applications allocate memory in terms of the number of bytes ...

Applications allocate memory in terms of the number of bytes that they need, but this level of granularity is too ?ne-grained for the operating system to manage the system memory i

Explain the spawnvp function used in the netware, Explain the Spawnvp Funct...

Explain the Spawnvp Function used in the netware Spawnvp(flags, execNmae, argv)   This function executes  similarly to spawnlp( ) except that parameters are passed as a v

Define disadvantages of top down parsing of backtracking, Define Disadvanta...

Define Disadvantages of Top Down parsing of Backtracking The disadvantages of top down parsing of backtracking: (i)  Semantic actions cannot be carried out while making a pr

Operating system services, explain about oprating system services and topic...

explain about oprating system services and topics briefly

Describe the differences among short-term and medium-term, Describe the dif...

Describe the differences among short-term, medium-term, and long-term scheduling.   Short-term (CPU scheduler)-selects from jobs in memory those jobs that are ready to execu

Explain hashed page table method, Hashed page table method A general ap...

Hashed page table method A general approach for managing address spaces larger than 32 bits is to use a hashed page table with the hash values being the virtual-page number.

Define the server communications module or scm, Define the Server Communica...

Define the Server Communications Module or SCM The Server Communications Module (SCM) performs many necessary functions. The SCM responsible for establishing, maintaining, and

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