LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 04: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 04:47 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-20-2010, 04:15 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:50 PM.

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
Open Source Consulting | Domain Registration