[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Antwort: Re: [hobbit] cleanup hostdata and histlogs
- To: hobbit (at) hswn.dk
- Subject: Antwort: Re: [hobbit] cleanup hostdata and histlogs
- From: thorsten.erdmann (at) daimler.com
- Date: Mon, 01 Feb 2010 15:49:25 +0100
- Encrypted: No
> On 02/01/2010 07:40 AM, thorsten.erdmann (at) daimler.com wrote:
> > Hello
> > is there a way to cleanup hostdata and histlogs automaticly? Lets say
> > delete all files older than half a year or so. May I do that via OS or
> > is there a special Hobbit-way to do it.
> > Thanks
> > Thorsten Erdmann
> Take a look at the trimhistory command.
Ok, trimhistory cleans up the histlogs, but not the hostdata. I did the
./trimhistory --cutoff=`expr \`date +%s\` - 31536000` --drop --droplogs
Can I simply delete the old hostdata files?
If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.