Search squid archive

Re: [squid-users] where can I find help for sarg?

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

 



You can try this...

#!/bin/bash

#Get yesterday date
YESTERDAY=$(date --date "1 day ago" +%d/%m/%Y)

#Get 1 month ago date
MONTHAGO=$(date --date "1 month ago" +%d/%m/%Y)

/usr/sbin/sarg -o /var/www/html/squid/monthly -d
$MONTHAGO-$YESTERDAY
# > /dev/null 2>&1

/usr/sbin/squid -k rotate

exit 0

I get it from http://sarg.mcl.ru/sarg.monthly


--- Yong Bong Fong <bfyong@xxxxxxxxxxxxxxx> wrote:

> Dear all,
> 
>    I am currently using sarg to check on usage.
> Wondering where can I 
> find help for sarg specific configuration?
> 
> I just need to configure the sarg report to provide
> monthly report for 
> all user's usage details etc.
> Currently my report provides report in daily format,
> but my boss wants 
> it in monthly format. My colleague however has his
> as one report for 4 
> days.
> 
> But we just couldn't find the configuration to
> change that report from 
> to display in other formats.
> 
> Hope anyone can direct me to the appropriate help
> site.
> Thanks a lot,
> 
> Regards
> Yong
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


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

  Powered by Linux