You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Leo Simons <ls...@jicarilla.org> on 2004/11/28 15:32:10 UTC
Re: [brutus] dead processes
killed 3 dozen or so this time. Needed to send SIGKILL to some stuff.
- LSD
Leo Simons wrote:
> leosimons@brutus:~$ ps aux | grep gump | grep -v tomcat | egrep \
> > 'May|Jun' > dead-processes.txt
> leosimons@brutus:~$ cat dead-processes.txt | grep -c ''
> 81
>
> # 81 process that have been lying around since june 13. Not good.
>
> leosimons@brutus:~$ cat dead-processes.txt | egrep -o 'gump +[0-9]+' \
> > | egrep -o '[0-9]+' | xargs sudo /sbin/kill
> leosimons@brutus:~$ ps aux | grep gump | grep -v tomcat | egrep \
> 'May|Jun' > dead-processes.txt
> leosimons@brutus:~$ cat dead-processes.txt | grep -c ''
> leosimons@brutus:~$
>
> # I'm tempted to put up a crontab that kills these processes. WDYT?
>
> - LSD
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org