[wplug] Killing processes

Jonathan S. Billings billings at negate.org
Sun Nov 30 18:03:57 EST 2003


I'm kind of surprised no one has mentioned this yet.

Most of the evolution packages I've seen come with a program called 
'killev'.  It kills all the related evolution processes.

Jonathan Billings

On Nov 26, 2003, at 9:08 AM, Andreas Rindler wrote:

> Hey,
> I am having trouble restarting Evolution after my network connection 
> has
> either changed or was terminated. It leaves two process running and I
> can't restart Evolution. My solution so far was to kill these processes
> which lets me restart it.
>
> I am trying to automate this, but I can't quite get the syntax to work:
>
> ps aux | grep evolutio n| awk '{print$2}'
>
> #gives me all processes that have evolution in the name
>
> ps aux | grep evolution | awk '{print$2}' | kill
>
> #and then the idea was to just pipe it to kill, but it doesn't work
> #also, the third process is the grep command itself, how do i skip that
> one??
>
> I would be grateful for any ideas...
>
> thanks,
> andi
>
>
>
>
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>




More information about the wplug mailing list