I specified a date with trimhistory (1st june 2006) but it doesn't seem to remove files in some hostdata directories. I executed again trimhistory to remove all files/logs before the 1st of september this year. In spite of that, I can see some files before this date were not removed from the hostdata directory :
[hobbit at psi200 psp145b]$ ls -ltr |more
total 2280296
-rw-rw-r-- 1 hobbit hobbit 123509 aoû 10 16:16 1155219302
-rw-rw-r-- 1 hobbit hobbit 122816 aoû 10 16:18 1155219426
-rw-rw-r-- 1 hobbit hobbit 121728 aoû 10 16:21 1155219550
-rw-rw-r-- 1 hobbit hobbit 122275 aoû 10 16:23 1155219673
-rw-rw-r-- 1 hobbit hobbit 122391 aoû 10 16:25 1155219791
[snip]
-rw-rw-r-- 1 hobbit hobbit 277910 aoû 31 23:51 1157060958
-rw-rw-r-- 1 hobbit hobbit 277830 aoû 31 23:55 1157061259
-rw-rw-r-- 1 hobbit hobbit 280192 sep 1 00:05 1157061858
-rw-rw-r-- 1 hobbit hobbit 272742 sep 1 00:09 1157062159
-rw-rw-r-- 1 hobbit hobbit 270990 sep 1 00:15 1157062458
-rw-rw-r-- 1 hobbit hobbit 274434 sep 1 00:22 1157062759
Thanks for your help !
Sincerly,
Thomas
Rich Smrcina <user-cf452ff334e0@xymon.invalid> a écrit sur 30/10/2006 15:10:18 :
How long do you need to keep data? You can specify a date on trimhistory (see the man pages) and any log data before that date will be deleted.
user-bb3e9041f07f@xymon.invalid wrote:
Hi,
I got a space problem on my hobbit server (4.2.0-1). Actually, my data > directory is approaching 40G of occupied space. I have no more space
on my
disk so I'm worrying myself a bit ! I've already done a './trimhistory > --drop[svcs|logs]' but I earned just a few Mb... What can I remove
from
the data directory ?
Here is some figures and a picture :
8,6G ./data/histlogs
26G ./data/hostdata
35G ./data
Thomas
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.
*****
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
--
Rich Smrcina
VM Assist, Inc.
Phone: XXX-XXX-XXXX
Ans Service: XXX-XXX-XXXX
user-61add9955ef9@xymon.invalid
Catch the WAVV! http://www.wavv.org
WAVV 2007 - Green Bay, WI - May 18-22, 2007
Ce message (et toutes ses pieces jointes eventuelles) est confidentiel et etabli a l'intention exclusive de ses destinataires.
Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est
interdite, sauf autorisation expresse.
L'internet ne permettant pas d'assurer l'integrite de ce message, CNP Assurances et ses filiales declinent toute responsabilite
au titre de ce message, s'il a ete altere, deforme ou falsifie.
*****
This message and any attachments (the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither CNP Assurances nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.