What are the different process states?

Questions by Beena   answers by Beena

Showing Answers 1 - 9 of 9 Answers

Rakesh,Kannur

  • Oct 6th, 2005
 

ready,weit,running,terminate,

  Was this answer useful?  Yes

hem shikha

  • Oct 14th, 2005
 

new

ready

running

waiting

terminate

  Was this answer useful?  Yes

Joseph

  • Dec 9th, 2005
 

Running - running on the processorSleeping - Waiting for an event to completeRunnable - In the run queueZombied - process terminated and parent not waitingStopped

  Was this answer useful?  Yes

1. ready-when a new process enters2. running-when cpu is assigned to that process for execution3. blocked-when process is suspended to carry out input/output operation4. terminate-when process has finished its execution and all resources are deallocated from it.

  Was this answer useful?  Yes

Prasad2008

  • Jun 6th, 2008
 

These are the states of a process. The corresponding symbols will come in STAT column of the output of the ps -aux command
R- running
S-sleeping
I-Idle
Z-Zombie
W-swapped out
K-Available kernel Process
N- Niced(Execution priority lowered)
>Execution priority artificially raised
X-GROWING ,WAITING FOR MEMORY
T-Stopped
D-Disk wait
P-Page wait

russpark

  • Sep 29th, 2010
 

This varies by individual Operating System Vendor (AIX, HPUX, etc...) -here's what the man page for the ps command in hpux 11i v1 says:

                               0    Nonexistent
                               S    Sleeping
                               W    Waiting
                               R    Running
                               I    Intermediate
                               Z    Terminated
                               T    Stopped
                               X    Growing

Your results will vary :)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions