Apache2-ScoreBoardFile
view release on metacpan or search on metacpan
"C" Closing connection
"L" Logging
"G" Gracefully finishing
"I" Idle cleanup of worker
"." Open slot with no current process
A "?" is reported for an unknown status.
$access_count=$worker->access_count;
$bytes_served=$worker->bytes_served;
$my_access_count=$worker->my_access_count;
$my_bytes_served=$worker->my_bytes_served;
$conn_count=$worker->conn_count;
$conn_bytes=$worker->conn_bytes;
$start_time=$worker->start_time;
$stop_time=$worker->stop_time;
$last_used=$worker->last_used;
$client=$worker->client;
$request=$worker->request;
$vhost=$worker->vhost;
$tid=$worker->tid;
$utime=$worker->utime;
$stime=$worker->stime;
$cutime=$worker->cutime;
$cstime=$worker->cstime;
various other fields. Documentation patches welcome.
@summary{@keys}=$sb->summary(@keys);
This method iterates over all workers and collects summary activity.
The following keys are recognized:
"_" count the number of workers in "Waiting for Connection" state
"S" count the number of workers in "Starting up" state
"R" count the number of workers in "Reading Request" state
"W" count the number of workers in "Sending Reply" state
"K" count the number of workers in "Keepalive (read)" state
"D" count the number of workers in "DNS Lookup" state
"C" count the number of workers in "Closing connection" state
"L" count the number of workers in "Logging" state
"G" count the number of workers in "Gracefully finishing" state
"I" count the number of workers in "Idle cleanup of worker" state
"." count the number of open slots with no current worker
"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 ".", "S" and "I".
"bw"
current number of busy workers. Any worker in a state except for
".", "S", "I", "_" is busy.
"iw"
current number of idle workers ("_" state).
"nr"
overall number of requests served so far, sum(access_count).
"nb"
overall number of bytes served so far, sum(bytes_served).
SEE ALSO
* Apache::ScoreBoard
* include/scoreboard.h in your apache distribution
AUTHOR
Torsten Förtsch, <torsten.foertsch@gmx.net>
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.
( run in 1.495 second using v1.01-cache-2.11-cpan-39bf76dae61 )