You could use logger and configure logrotate accordingly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Hey folks,
We have Munin set up for longer term performance monitoring stuff, and
it has been extremely useful to us for what it does. However, it is
hard coded to poll systems at 5 minute intervals, which of course
proves not to be so useful when you have to dig down into more detail
on
You could create one, use dd to create an empty file that is the
size you want, format it with mke2fs and mount it via loopback
Would it automatically do the loop thing though? i.e. overwrite the
oldest data in the file?
--
“Don't eat anything you've ever seen advertised on TV”
-
Alan McKay wrote:
You could create one, use dd to create an empty file that is the
size you want, format it with mke2fs and mount it via loopback
Would it automatically do the loop thing though? i.e. overwrite the
oldest data in the file?
No but you could be sure you'd never fill your
If you want to automatically overwrite the oldest file come up
with a naming/numbering scheme for the files and iterate through
them and then repeat.
Yes, that was my intended workaround from the beginning but I'm hoping
someone will know of a way to do it without having to do this. We
shall
There is a tool in BSDland called fifolog. It does exactly what you want,
but is BSD only to my knowledge. Perhaps you can port it, I can't imagine
it would be that hard.
You do need to read the data using the fifolog tools, though. It does not
store data in pure text.
-geoff
6 matches
Mail list logo