On Sat, Jun 15, 2002 at 06:32:07PM +0530, Vamsi Krishna K-RollNo.2000-134 wrote:
> 
> when i press "ps -x" i can get the process list 
> 
> PID   TTY       STAT       TIME  COMMAND
> 1234  ?          Z          0:04 [defunct a.out]
> 
> 
> iam trying to kill this process by typing "kill -9 1234"
> 
> but the process is not getting killed.
> 
> what does STAT flag indicate ?
> am i right by guessing Z as a Zombie.
> 
---end quoted text---

You are dead right here. "Z" is for defunct process (zombie).
These are the state codes output by the ps command:

o D   uninterruptible sleep (usually IO)
o R   runnable (on run queue)
o S   sleeping
o T   traced or stopped
o Z   a defunct ("zombie") process
                                       
AFAIK, you cannot kill a "Zombie" process. In any case, it does 
not take up any memory and can be left alone ...

HTH

Bish


--
:
####[ Linux One Stanza Tip (LOST) ]###########################

Sub : Shell auto completion LOST                     LOST #097

Autocompletion is a feature provided by shells to complete any
part command from the console. For different shells these are:

Shell auto completion          csh        ksh       bash/ ash

Single option completion       Esc-Esc    Esc-Esc   Tab  
Unresolved reference menu      Ctrl-D     Esc =     Tab-Tab

####<[EMAIL PROTECTED]>##############################
:

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to