LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to use squid analysis report generator (https://www.linuxquestions.org/questions/linux-software-2/how-to-use-squid-analysis-report-generator-67356/)

heero82 06-22-2003 08:53 PM

how to use squid analysis report generator
 
hello,
Anybody know how to use squid analysis report generator (sarg) in linux, (especially in redhat). Because i want to print out the log file report to the others. but i want a software that could perform this kind of service.

finally i found a command which is located in /usr/bin/sqmgrlog , i don't know how to do this software.

and other is SARG, but this software wants to do some program which adding some script in some files. i also want to know the detail of this program (configuration and setting, how to use)

sorry, for requesting your help ,
thank you very much
thanks for your concern.

heero82 06-22-2003 10:23 PM

#!/bin/bash

#Get current date
TODAY=$(date +%d/%m/%Y)

#Get one week ago today
LASTWEEK=$(date --date "7 days ago" +%d/%m/%Y)

/usr/local/bin/sarg -d $LASTWEEK-$TODAY

exit 0


i have found this script program, which may need to put some place or file,
i don't know where do i put , so anyone know about this?
thanks


All times are GMT -5. The time now is 03:52 PM.