User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Kill all defunct processes Page [1]  
Wyloch
All American
4244 Posts
user info
edit post

Unix newb. Is there a single command to kill all <defunct> processes? Google yields no help.

4/30/2008 12:44:39 PM

agentlion
All American
13936 Posts
user info
edit post

i'm sure some combination of grep and ps and | and > and all that shit could do it

4/30/2008 12:46:54 PM

Wyloch
All American
4244 Posts
user info
edit post

Thanks but
Quote :
"Unix newb"

4/30/2008 12:48:46 PM

agentlion
All American
13936 Posts
user info
edit post

yeah, i saw. i'm a "unix intermediate", but don't know enough to put together a command like that

4/30/2008 12:49:44 PM

sd2nc
All American
9963 Posts
user info
edit post

Is this the same thing as killing background processes? Are you trying to "kill" all of them?

4/30/2008 1:03:21 PM

Shaggy
All American
17820 Posts
user info
edit post

init 6

4/30/2008 1:04:35 PM

qntmfred
retired
40555 Posts
user info
edit post

^ ha

[Edited on April 30, 2008 at 1:08 PM. Reason : that's like (alt+f4)2]

4/30/2008 1:08:11 PM

scud
All American
10804 Posts
user info
edit post

You can't "kill" <defunct> processes. They're zombie'd and they're called that because well you can't kill zombies.

They'll be around until you reboot - sry


Oh btw they stick around so you can debug where they come from.
Something is probably missing and ignoring a SIGCHLD or dying prematurely.

[Edited on April 30, 2008 at 1:47 PM. Reason : df]

4/30/2008 1:46:51 PM

ncsuapex
SpaceForRent
37776 Posts
user info
edit post

killall -9 httpd

substitute httpd for the process.

ps -ef

or ps -ef | grep "something"

substitute the word something for the process

4/30/2008 8:56:23 PM

Ernie
All American
45943 Posts
user info
edit post

apropos is a useful command

4/30/2008 8:58:11 PM

 Message Boards » Tech Talk » Kill all defunct processes Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.38 - our disclaimer.