How to Get "Requests Per Second" for Apache in Linux

How to get requests per second for Apache in Linux?

In realtime, or can you use mod_status?

And apparently, there is a version of top for apache...

How do I get the number of requests per second from Apache log between 2 dates/time?

between 11am of day x and 13pm

My clock doesn't go all the way to 13pm. How are things on Airstrip 1?

Assuming you meant 1pm....

Something like...

awk 'BEGIN {started=0}
/\[29\/Oct\/2010:11/ {
started=1}
/\[29\/Oct\/2010:1[3-9]/ {
print count/(2*60*60);
exit; }
// {
if (started) count++;
}' <access_log

How can I implement rate limiting with Apache? (requests per second)

The best

  • mod_evasive (Focused more on reducing DoS exposure)
  • mod_cband (Best featured for 'normal' bandwidth control)

and the rest

  • mod_limitipconn
  • mod_bw
  • mod_bwshare

Is there a program to view live HTTP requests under the Apache server?

in your terminal, type

tail -f /var/www/log/apache2/other_vhosts.access.log

this will view live requests.



Related Topics



Leave a reply



Submit