Re: [Exim] pid-file

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: exim-users
Υ/ο: Dave English
Αντικείμενο: 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.