[wplug] Killing processes
Andreas Rindler
arindler at cmu.edu
Wed Nov 26 09:08:07 EST 2003
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
More information about the wplug
mailing list