You can also use the conf option below:
# Show more verbose process titles (in ps). Currently shows user name and # IP address. Useful for seeing who are actually using the IMAP processes # (eg. shared mailboxes or if same uid is used for multiple accounts). verbose_proctitle = yes
--- Rob Middleton <robm-dovecot@centenary.org.au> wrote:
Hey guys, Is there a way to extract the concurrent connectons to a dovecot servers? Got a fairly busy installation that Id like to monitor/graph concurrent connections for.
Dean Manners wrote: ps axl|grep -E "imap$"|wc -l
each active, authenticated imap session is a separate process ... same for pop3: ps axl|grep -E "pop3$"|wc -l
There may well be a more complicated way, or a way to get the info out of the root dovecot process.
Rob.