Re: multi-instances: how to discriminate "master" in process list

2017-01-04 Thread Viktor Dukhovni
> On Jan 4, 2017, at 2:44 AM, Marco Pizzoli wrote: > > Hi all, > I have a multi-instance setup. > By doing "ps -ef", as expected, I see a lot of "master" processes. > Is there a way to see which master is related to which instance at a glance? "postfix status" will output the pid of each instan

Re: multi-instances: how to discriminate "master" in process list

2017-01-04 Thread Wietse Venema
Marco Pizzoli: > Hi all, > I have a multi-instance setup. > By doing "ps -ef", as expected, I see a lot of "master" processes. > Is there a way to see which master is related to which instance at a glance? # postfix status postfix/postfix-script: the Postfix mail system is running: PID: 1290 postf

RE: multi-instances: how to discriminate "master" in process list

2017-01-04 Thread Fazzina, Angelo
If you are on linux, would you find these commands helpful ? pgrep master|xargs ps –fp Example Output: UIDPID PPID C STIME TTY TIME CMD root 7437 1 0 2016 ?00:29:41 /usr/libexec/postfix/master pgrep -u postfix|xargs ps –fp Example Output