Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-20-2010, 05:07 AM   #1
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
Senior Member
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,145
Blog Entries: 4

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

# to generate the report for today
sarg-report today
# on daily basis
sarg-report daily
# on weekly basis
sarg-report weekly
# on monthly basis
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.

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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:22 AM.

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