[Dovecot] Command to get proxy connection count
Timo,
I'm trying to get a count of active proxy sessions on a given Director. I can of course enable verbose_proctitle and parse the 'N connections' string out of ps output or /proc/pid/cmdline. Is there a better way to do that, perhaps with doveadm? Goes back to needing a command for proxy and director ring status, I guess.
-Brad
On Mon, 2010-09-27 at 17:01 -0700, Brad Davidson wrote:
I'm trying to get a count of active proxy sessions on a given Director. I can of course enable verbose_proctitle and parse the 'N connections' string out of ps output or /proc/pid/cmdline. Is there a better way to do that, perhaps with doveadm? Goes back to needing a command for proxy and director ring status, I guess.
Nope. The proxy connection counts are tracked only internally by each login process and there's no way to ask them. So the proctitle checking is the best you can do for now.
participants (2)
-
Brad Davidson
-
Timo Sirainen