On Mon, Dec 6, 2010 at 9:15 AM, Warren Baker <[email protected]> wrote:
> On Mon, Dec 6, 2010 at 4:00 PM, John Jetmore <[email protected]> wrote:
>> or even:
>>
>> exipick -bpc -x
>
> or even:
>
> exiqgrep -xic
>
> but that will show you
>
> x matches out of y messages
>
> so some awk fu:
>
> exiqgrep -xic | awk '{print $1}'
>
> so a gazillion ways to skin this cat.

Party pooper =).

OK, since the OP mentioned performance, here's some real information.

exim - written in C, reads information directly from the queue files
exipick - written in perl, reads information directly from the queue files
exiqgrep - written in perl, runs exim and then massages its output.

So, for pure performance, use exim if it will give you what you want,
then use exiqgrep, then exipick.

exipick will do things that neither exim nor exiqgrep can do, but exim
is faster than exipick at reading the queue.  If "exiqgrep -xc" gives
you what you want, that's probably the fastest way to get it.

If you have to massage the output of exiqgrep using external tools,
exipick might be faster, just depends on the exact state of your
machine.

--John

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to