On 19-3-2015 9:30, Gedalya wrote:
> On 03/18/2015 08:49 PM, Timo Sirainen wrote:
>> There's no reason why flow and pager should write headers to stderr
>> because it would always result only in a mess. But instead of changing
>> table headers to write to stdout, I think a better fix would be to
>>
On 03/18/2015 08:49 PM, Timo Sirainen wrote:
There's no reason why flow and pager should write headers to stderr because it would always result
only in a mess. But instead of changing table headers to write to stdout, I think a better fix
would be to make tab formatter write headers to stderr.
On Thu, 19 Mar 2015, Timo Sirainen wrote:
You have to redirect stderr to /dev/null because that's where the
first header line is written to. The default format style (table)
is inconsistent with the other formats (flow,pager,tab) that write
headers and data to stdout.
There's no reason why fl
On 19 Mar 2015, at 02:37, Joseph Tam wrote:
>
>
>> doveadm who -1 2>/dev/null | wc -l
>
> You have to redirect stderr to /dev/null because that's where the
> first header line is written to. The default format style (table)
> is inconsistent with the other formats (flow,pager,tab) that write
>
doveadm who -1 2>/dev/null | wc -l
You have to redirect stderr to /dev/null because that's where the
first header line is written to. The default format style (table)
is inconsistent with the other formats (flow,pager,tab) that write
headers and data to stdout.
The following patch will pick
great!
Thank you all for the replies.
On Tue, Mar 17, 2015 at 7:39 PM, Joseph Tam 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 cou
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
doveadm who should help
On 03/17/2015 05:13 PM, Jaime Ventura wrote:
> Hey, Is there an easy way to get how many connections are being
> handled at a moment?
>
> I wanted to have that number over the time and see: - Trends on
> usage during the day -
Hey,
Is there an easy way to get how many connections are being handled at a
moment?
I wanted to have that number over the time and see:
- Trends on usage during the day
- how close is it from reaching the maximum number of connections.
- ...
I'm searching for a solution without re