Tim Dunphy <bluethundr@xxxxxxxxx> writes: > I'm very grateful. Ok so here is what I have so far of my script to get the > number of apache requests to a given host: > [...] > So now my question is, is there any way to limit the size of the output log > from within the script without having to use logrotate? You could add a counter to the script and send the log off by email after polling so many times, or on each poll, tail the file, omitting so many lines as to remove the first entry. -- Knowledge is volatile and fluid. Software is power. _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos