[CentOS] sadc output to a circular file of given size?
nate
centos at linuxpowered.netWed Sep 16 21:22:28 UTC 2009
- Previous message: [CentOS] sadc output to a circular file of given size?
- Next message: [CentOS] sadc output to a circular file of given size?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 normal file system up. 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. nate
- Previous message: [CentOS] sadc output to a circular file of given size?
- Next message: [CentOS] sadc output to a circular file of given size?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list