On Tue, May 08, 2007 at 06:09:05PM -0300, Valdir Marcos wrote: > How can I identify what is garbage in /var? > How can I delete files and directories older than a specific date? > > # df -h > Sist. Arq. Tam Usad Disp Uso% Montado em > /dev/sda2 449M 132M 293M 32% / > tmpfs 248M 0 248M 0% /dev/shm > /dev/sda1 89M 11M 73M 13% /boot > /dev/sda8 1,8G 11M 1,7G 1% /home > /dev/sda9 39G 13,6G 25,3G 35% /srv > /dev/sda7 449M 8,1M 417M 2% /tmp > /dev/sda5 2,8G 341M 2,3G 13% /usr > /dev/sda6 1,8G 774M 918M 46% /var > > # du -skh * > 661K backups > 125M cache > 27M lib > 1,0K local > 1,0K lock > 175M log ^^^^^^^^^^^^^ Do you have logrotate installed?
apt-cache show logrotate -- Chris. ====== -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

