Process State

In a process state, a process can change form one state to another. The state of the process is defined by the current activity of that process. In this article, we just describe the five states of the process with the help of the diagram.

Diagram of Process State

Five Process States

Explanation

Now, we can explain one by one five process states.

Creation (New): A new process is created and move from new state to ready state.

Ready: The created process wait in the ready queue.

Running: The process is selected by the CPU Scheduler and moves to the running state.

Waiting: The process is waiting for an input output to output to complete.

Terminated: The process has completed its execution.

Additional State Transitions

Ready (Again): The process is ready again to execute after I\O.

Running (Again): The process is start executing again.

A process moves between different states during execution until it completes and enters the Terminated state.