[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Corruption in hist files
- To: hobbit (at) hswn.dk
- Subject: Corruption in hist files
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Mon, 2 Feb 2009 14:03:28 +0100
- User-agent: KMail/1.9.10
Hi,
I have a hobbit server running as vmware guest that changes it's clock at
random when you reboot. The clock has jumped a few times to 2010.
This gives problems with the hist files.
I wrote a perl script to clean up the hist files:
- delete lines in the future
- fixes the layout so the last number on a line is the seconds between the
current and the next line.
If anyone is interested, let me know.
I think it would be great if the trimhistory utility can do this also.
Stef