Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Maybe you can consider rrdtool. This gives you a constant-size database with old data (you can configure what is "old" to you) getting stored with less granularity. You can feed it easily from a perl script. I do it with my logfiles to count events, and it produces very nice graphs. You feed it with a line like system ("/usr/bin/rrdtool update /path/to/my.rrd ".$logstr);, where $logstr is your data vector. Then you can f.e. use a cron job to read the lines of the f.e. last finished hour (last finished time interval) and count your interesting events. In this way you form the vector to feed to rrdtool (or to a dsv-file). In reply to Re^3: Counting concurrent event jobs
by mantadin
|
|