monitoring reqs per sec

hello

I'd like to monitor apache and mysql requests/sec using a tool to generate a graphic (like mrtg or rrdtool)
but how can I get this data?
I tried using the mod_status for apache and mysqladmin for mysql... but it seens both shows the average since the last restart
so, after 1 or 2 days, it changes too little, even if an access peak comes
any ideas on how to get the "last 5 minutes averages"?

maybe I should base on requests being processed?

thanks

 

 

 

 

Top