/path/to/path/access.log
/path/to/path/store.log
/path/to/path/cache.log

ama store log daha cok squid icin tazeleme ve bende varmi yok mu gidip
internetten mi alayim vs gibi bandwith tuketimine de cok yardimci oldugu
icin cok tavsiye etmeyecegim sey ama cok onemli degil diyorsaniz ve çok
sisiyorsa daha gec araliklarla sildirin..

#!/bin/sh
cat /dev/null > /path/to/path/access.log
cat /dev/null > /path/to/path/store.log
cat /dev/null > /path/to/path/cache.log

bunu  log-sifirla   diye yazin chmod +x log-sifirla

sonra  crontab -e

5 23 15 * * /home/squid/squid/var/logs/log-sifir  >/dev/null 2>&1

her 15 gunde bir saat 23:05 de clear etsin iclerini..



----- Original Message -----
From: "Bedreddin ÞAHBAZ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 26, 2004 10:17 AM
Subject: Re: [freebsd] Boot Sirasinda Asiri Derecede Yavaslama


> Merhaba,
>
> Affiniza siginarak bir soru daha sormak istiyorum.
> Belli araliklarla Squid logs klasorunde hangi
> dosyalarin icerigini temizlemek gerekir? store.log ne
> ise yarar mesela? Uyariniz uzerine biraz karistirdim
> ve   dosyasinda su satirlari gordum;
>
> 2004/11/26 07:57:04| WARNING: Disk space over limit:
> 121902 KB > 102400 KB
> 2004/11/26 07:57:15| WARNING: Disk space over limit:
> 105480 KB > 102400 KB
> 2004/11/26 07:57:01| WCCP Disabled.
> 2004/11/26 07:57:01| Ready to serve requests.
> 2004/11/26 07:57:03| Store rebuilding is 34.2%
> complete
> 2004/11/26 07:57:03| WARNING: newer swaplog entry for
> dirno 0, fileno 00000384
> 2004/11/26 07:57:03| WARNING: newer swaplog entry for
> dirno 0, fileno 00000387
> 2004/11/26 07:57:03| WARNING: newer swaplog entry for
> dirno 0, fileno 000016BE
> 2004/11/26 07:57:03| Done reading
> /usr/local/squid/cache swaplog (11986 entries)
>
> Bu uyarilar bana ne demek istiyor tam anlayamadim.
> Squid de bir sorun mu var?
>
> Saygilarimla..
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
>
> ---------------------------------------------------------------------
> Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
> http://www.acikkod.com/freebsd.php
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Liste arsivi: http://lists.enderunix.org ve
http://www.mail-archive.com/freebsd@lists.enderunix.org
>
>
>


---------------------------------------------------------------------
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php

To unsubscribe, e-mail: [EMAIL PROTECTED]
Liste arsivi: http://lists.enderunix.org ve 
http://www.mail-archive.com/freebsd@lists.enderunix.org


Cevap