Search squid archive

Re: oot: about sarg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i try it rite now
let see next day

On Fri, Jan 23, 2009 at 1:40 AM, Chris Robertson <crobertson@xxxxxxx> wrote:
> ░▒▓ ɹɐzǝupɐɥʞ ɐzɹıɯ ▓▒░ wrote:
>>
>> still same :((
>> --------------
>> Squid User Access Reports
>>
>> FILE/PERIOD     CREATION DATE   USERS   BYTES   AVERAGE
>> 22Jan2009-22Jan2009     Thu Jan 22 07:32:48 EST 2009    5       2.71M
>> 543.46K
>> 21Jan2009-22Jan2009     Thu Jan 22 07:01:10 EST 2009    96      1.71G
>> 17.83M
>> 21Jan2009-21Jan2009     Wed Jan 21 23:01:11 EST 2009    96      1.71G
>> 17.83M
>> 20Jan2009-21Jan2009     Wed Jan 21 06:30:15 EST 2009    95      3.06G
>> 32.30M
>> ---------------
>> my crontab are :
>> root@castor:/home/mirza# crontab -l
>> 0 0 * * * /usr/local/squid/sbin/squid -k rotate
>> 1 * * * *  /usr/bin/sarg -f /etc/squid/sarg.conf
>>
>
> Try using a crontab entry of...
>
> 1 * * * * /usr/bin/sarg -d $(date +%d/%m/%Y)-$(date +%d/%m/%Y) -f
> /etc/squid/sarg.conf
>
> ...to limit each report to a single day.
>
> Chris
>



-- 
-=-=-=-=
Personal Blog http://my.blog.or.id ( lagi belajar )
Hot News !!! : Pengin punya Layanan SMS PREMIUM ? Contact me ASAP.
dapatkan Share revenue MAXIMAL tanpa syarat traffic...


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux