LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-20-2010, 05:07 AM   #1
abdulmateen
LQ Newbie
 
Registered: Oct 2010
Posts: 9

Rep: Reputation: 0
how to use SARG


I have installed and configured Squid ver: 2.6.STABLE21, and installed SARG rpm (sarg-2.3-2.el5.test.i386.rpm). the problem is how to use SARG without webmin.
I want to view report.

Last edited by abdulmateen; 10-20-2010 at 05:47 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-20-2010, 05:15 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Use the sarg-reports command to generate reports as shown below.

# to generate the report for today
Quote:
sarg-report today
# on daily basis
Quote:
sarg-report daily
# on weekly basis
Quote:
sarg-report weekly
# on monthly basis
Quote:
sarg-report monthly
Note: Add the sarg-report to the crontab.

The reports generated by sarg are stored under /var/www/squid-reports. These are html reports can you can view from a browser.

Quote:
$ ls /var/www/squid-reports
Daily index.hyml
Quote:
$ ls /var/www/squid-reports/Daily
2010Aug28-2010Aug28 images index.html
 
2 members found this post helpful.
  


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
sarg gabriele81 Linux - Newbie 1 06-11-2010 09:23 AM
[SOLVED] SARG qwertyjjj Linux - Software 4 08-12-2009 04:39 PM
Sarg atomixx Linux - Newbie 1 08-11-2008 11:14 AM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 04:28 AM
Need help in SARG depam Linux - Software 1 10-14-2005 10:06 PM


All times are GMT -5. The time now is 07:23 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