Apache2-ScoreBoardFile

 view release on metacpan or  search on metacpan

lib/Apache2/ScoreBoardFile.pm  view on Meta::CPAN

=head3 @summary{@keys}=$sb-E<gt>summary(@keys);

This method iterates over all workers and collects summary activity.

The following keys are recognized:

=over 4

=item C<_>

count the number of workers in C<Waiting for Connection> state

=item C<S>

count the number of workers in C<Starting up> state

=item C<R>

count the number of workers in C<Reading Request> state

=item C<W>

count the number of workers in C<Sending Reply> state

=item C<K>

count the number of workers in C<Keepalive (read)> state

=item C<D>

count the number of workers in C<DNS Lookup> state

=item C<C>

count the number of workers in C<Closing connection> state

=item C<L>

count the number of workers in C<Logging> state

=item C<G>

count the number of workers in C<Gracefully finishing> state

=item C<I>

count the number of workers in C<Idle cleanup of worker> state

=item C<.>

count the number of open slots with no current worker

=item C<cw>

the current number of active workers. For prefork-MPM this is the number
of apache worker processes currently running. Number of workers in any state
except for C<.>, C<S> and C<I>.

=item C<bw>

current number of busy workers. Any worker in a state except for C<.>, C<S>,
C<I>, C<_> is busy.

=item C<iw>

current number of idle workers (C<_> state).

=item C<nr>

overall number of requests served so far, sum(access_count).

=item C<nb>

overall number of bytes served so far, sum(bytes_served).

=back

=head1 SEE ALSO

=over 4

=item * L<Apache::ScoreBoard>

=item * F<include/scoreboard.h> in your apache distribution

=back

=head1 AUTHOR

Torsten Förtsch, E<lt>torsten.foertsch@gmx.netE<gt>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2010 by Torsten Förtsch

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.12.1 or,
at your option, any later version of Perl 5 you may have available.

=cut



( run in 0.479 second using v1.01-cache-2.11-cpan-39bf76dae61 )