Re: [exim] Count connections

Góra strony
Delete this message
Reply to this message
Autor: Matthias Waffenschmidt
Data:  
Dla: Dennis Skinner
CC: Exim-users
Temat: Re: [exim] Count connections
Hi,

On Tue, Mar 01, 2005 at 11:49:13AM -0500, Dennis Skinner wrote:
> Adrian Phillips wrote:
> |>>>>>"Dennis" == Dennis Skinner <dskinner@???> writes:
> |
> |
> |     Dennis> My questions is, is there an easy way to query exim to
> |     Dennis> find out how many connections are currently being handled?
> |     Dennis> Something that would report what was coming up in my logs:
> |
> | Check out log_selector in the spec.

>
> I'd rather not have to parse log files if possible. What I was
> suggesting is something like exim -bpc but count connections instead of
> items in the queue. Or perhaps some option passed to exiwhat?


Why not just using exiwhat this way:

exiwhat | grep 'handling incoming connection' | wc -l

-- 
Gruss / Best regards   |  LF.net GmbH        |  fon +49 711 90074-411
Matthias Waffenschmidt |  Ruppmannstr. 27    |  fax +49 711 90074-33
mw@???              |  D-70565 Stuttgart  |  http://www.lf.net