* Victor Duchovni <postfix-users@postfix.org>:
> On Sat, Apr 30, 2011 at 06:07:46PM +0200, Patrick Ben Koetter wrote:
> 
> > I have two instances of Postfix (2.7.1) running on a server, but I can't 
> > tell
> > which is which:
> > 
> > % ps axf
> > ...
> > 31383 ?        Ss     0:00 /usr/lib/postfix/master
> > 31627 ?        S      0:00  \_ pickup -l -t fifo -u -c
> > 31628 ?        S      0:00  \_ qmgr -l -t fifo -u
> > 31505 ?        Ss     0:00 /usr/lib/postfix/master
> > 31638 ?        S      0:00  \_ pickup -l -t fifo -u -c
> > 31639 ?        S      0:00  \_ qmgr -l -t fifo -u
> 
> If you include the parent process id in the "ps" output, and run "postfix
> status", you'll see which master(8) process is which instance, and thus
> which instance owns which sub-process. Sadly "postfix status" never sends
> anything to pipes, it just syslogs when the output is not a terminal...
> 
> So to find which master is which instance you need to look in the master.pid
> files or in /proc, ... If you do look in /proc, each child process has
> MAIL_CONFIG in its environment...

I see, and I don't want to sound ungrateful, but I was looking for something
simplier.

p@rick



-- 
All technical questions asked privately will be automatically answered on the
list and archived for public access unless privacy is explicitely required and
justified.

saslfinger (debugging SMTP AUTH):
<http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>

Reply via email to