Hi,
----- "Peter Bowyer" <[EMAIL PROTECTED]> wrote:
> > > ps -ax | grep exim-4 | awk '{print $1}' | xargs kill -15
> >
> > There is always more than one way to do it :)
That's also, of course
ps -ax | awk '/exim-4/ {print $1}' | xargs kill -15
;-)
> Just don't try 'killall' on Solaris. Yep, I've been caught by that
> one - you need to leave your Linux head behind at the door.
Try pkill instead:
pkill -15 exim-4
Works on Solaris, FreeBSD and Linux. Not sure what else. "pgrep" is
its cousin. You might want the -f option, too.
Sorry if this has already been mentioned; I missed the beginning of
this thread.
--
Matthew
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/