LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-22-2003, 09:53 PM   #1
heero82
Member
 
Registered: May 2003
Posts: 45

Rep: Reputation: 15
Unhappy 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.
 
Old 06-22-2003, 11:23 PM   #2
heero82
Member
 
Registered: May 2003
Posts: 45

Original Poster
Rep: Reputation: 15
#!/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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php generator webwolf70 Linux - Software 1 10-12-2005 06:26 PM
packet generator ddaas Linux - Networking 2 03-30-2005 05:34 PM
How can I report the Error Report? domeili Linux - Newbie 1 10-30-2003 06:42 AM
what log file generator that support squid log? heero82 Linux - Software 2 07-11-2003 09:52 PM
How to print the log file report in squid? heero82 Linux - Software 0 06-18-2003 01:51 AM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration