httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: Help required regarding number of connections
Date Wed, 07 Nov 2001 05:44:23 GMT
On Tue, 6 Nov 2001, Rohan Nandode wrote:

>   I want to calculate active number of connections
> (or number of clients connected) to a server.
> Could anybody give me any clue to do it?
> Any help is apprecialted!

You can just loop through the scoreboard and count up the slots
not in SERVER_READY or SERVER_DEAD state.  mod_status does this... take a
look in there for more details.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message