Re: [Exim] pid-file

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: exim-users
CC: Dave English
Sujet: Re: [Exim] pid-file
On Thu, 11 Jul 2002, Simon Williams wrote:

> kill $(ps auxwww | grep exim | grep -v grep | grep -v -- -bd | \
> awk '{print $2}')
>
> That should work under Linux & FreeBSD. I believe it should work
> under Solaris if you replace 'pa auxwww' with 'ps -ao user,args',
> but I'm not near a Solaris machine at the moment.


That would (as I read it) kill all Exim processes that were neither -bd
daemons, nor spawned from -bd daemons. That isn't what you want. You'd
kill off reception processes spawned by MUAs.

What you could do is run exiwhat to find the process you want.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.