[CentOS] parsing out adjacent text
lee
lee at yun.yagibdah.deThu Jun 5 17:26:09 UTC 2014
- Previous message: [CentOS] parsing out adjacent text
- Next message: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Dunphy <bluethundr at gmail.com> 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.
- Previous message: [CentOS] parsing out adjacent text
- Next message: [CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list