OS Process States

Since each process is an independent entity with its own program counter and internal state, processes sometime need to interact with other processes.

Sometime, a process may generate some output that is used by some other process as their input.

The diagram given below (state diagram) shows all the three states.

process state

In these three states, a process may be in.

  • Running - Actually using the Central Processing Unit at that instant
  • Ready - Runnable, temporarily stopped to let another process run
  • Blocked - Unable to run until some external event happens

In logical way, the first two states are similar to each other, because in both the cases, the process is willing to run, only in second one, there is temporarily no Central Processing Unit (CPU) available for it. Whereas the third state is different from the first two state, in that, the process can't run even if the Central Processing Unit (CPU) has nothing else to do.

Operating System Online Test


« Previous Tutorial Next Tutorial »

Like/Share Us on Facebook 😋