Jaime Ventura writes:> Is there an easy way to get how many connections are being handled at a > moment?This works: doveadm who -1 2>/dev/null | wc -l If yopu only want to coutn IMAP connections (not POP3), doveadm who -1 2>/dev/null | grep -Fc imap Joseph Tam <jtam.home at gmail.com>
great! Thank you all for the replies. On Tue, Mar 17, 2015 at 7:39 PM, Joseph Tam <jtam.home at gmail.com> wrote:> Jaime Ventura writes: > > Is there an easy way to get how many connections are being handled at a >> moment? >> > > This works: > > doveadm who -1 2>/dev/null | wc -l > > If yopu only want to coutn IMAP connections (not POP3), > > doveadm who -1 2>/dev/null | grep -Fc imap > > Joseph Tam <jtam.home at gmail.com> >