OS Process State - New, Running state, Ready State, Waiting state, Process Termination state

<<Previous

Next >>





When an Operating system process executes, Process may change its state. Process may be in one of the following state:

New State

As soon as a new process is created, process is in the initial state.

Ready State

Process is waiting to be assigned CPU time. Operating system allocates the processor time to the ready process. Process can come into this state either after the new state or when interruption occured during the running state of the process.

Running State

Once the process gets the CPU time, process instructions are being executed. Only one process is running on any processor at any instant.

Waiting State

Running process needs some resources or some events to occur (such as I/O complete, waiting for user input and waiting for input file). The process waiting for user input, input file or another event is said to be in waiting state.

Terminate State

the process has finished execution


Process State in Operating System

<<Previous

Next >>









OS Process State - New, Running state, Ready State, Waiting state, Process Termination state

<<Previous

Next >>





When an Operating system process executes, Process may change its state. Process may be in one of the following state:

New State

As soon as a new process is created, process is in the initial state.

Ready State

Process is waiting to be assigned CPU time. Operating system allocates the processor time to the ready process. Process can come into this state either after the new state or when interruption occured during the running state of the process.

Running State

Once the process gets the CPU time, process instructions are being executed. Only one process is running on any processor at any instant.

Waiting State

Running process needs some resources or some events to occur (such as I/O complete, waiting for user input and waiting for input file). The process waiting for user input, input file or another event is said to be in waiting state.

Terminate State

the process has finished execution


Process State in Operating System

<<Previous

Next >>















Learn about Stack Data Structure

Learn about Heap Data Structure

Learn about Operating System

Learn AVL Tree

Learn Djikstra's Algorithm