8 More Discussions You Might Find Interesting
1. AIX
Hi everyone,
My latest challenge sees me assisting with the setup of one of our classroom labs.
We are trying to configure the lab so that the (5) IBM 9115-505 servers (all running AIX7.1) have their serial 0 ports connected to a Digi PortServer II, which is on the classroom LAN, along with the... (4 Replies)
Discussion started by: richardsantink
4 Replies
2. Red Hat
Could you “crontab” it to run every 10 minutes on work days (Mo - Fr) between 08:00 and 18:00
i know to run every 10 mints but can any one guide me how to achieve the above one (2 Replies)
Discussion started by: venikathir
2 Replies
3. Shell Programming and Scripting
Hey Guys,
I'm seeking some assistance in getting this script to run as a cron job for the user oracle.. the script is basically to perform 2 ADRCI checks... see the script below... i'm getting the following error: /export/home/oracle/Daily_Checks/ADRCI_Daily_Checks.sh: syntax error at line 16:... (7 Replies)
Discussion started by: Racegod
7 Replies
4. AIX
Hello All,
Critical AIX production box crashed/rebooted while our team is working on it and we need to generate a detailed report for that, below are few questions that need to be included in the report. (We are System Administration team and everyone in our team has root access via sudo as well... (3 Replies)
Discussion started by: lovesaikrishna
3 Replies
5. UNIX for Dummies Questions & Answers
Hello all,
I'm sorry if this is answered elsewhere, I've used the search function and can't find the specifics of what I'm after.
I am brand new to playing with linux, and ideally I want to get better to help the company that I now work for.
What I want to do:
Create a script that I... (4 Replies)
Discussion started by: Aussiemick
4 Replies
6. AIX
Guys
we all know what command 'COLUMNS=2047 /usr/bin/ps –eo pid,ppid,uid,user,args' does.It prints 5-column output for the running processes on a AIX box.
Here is simple thing i need:
I need to insert this tabular data in a db2 table.
How do i need?
I have created table with these five... (0 Replies)
Discussion started by: ak835
0 Replies
7. UNIX for Advanced & Expert Users
How to allocate memory for a shell script on aix box at the time of execution i.e at runtime
Are there any commands for AIX in specific
Thanks in Advance (1 Reply)
Discussion started by: aixjadoo
1 Replies
8. Programming
Hi !
Please tell me how to get radio buttons, text boxes , check boxes , option buttons , pull down menus in C++ on Unix.
I think it would be done using curses.h ..but that's all i know.
TIA,
Devyani. (3 Replies)
Discussion started by: devy8
3 Replies
SARG-REPORTS(1) General Commands Manual SARG-REPORTS(1)
NAME
sarg-reports - Daily/Weekly/Monthly squid usage reports creation tool
SYNOPSIS
sarg-reports [OPTIONS]
DESCRIPTION
This manual page documents briefly the sarg-reports command.
sarg-reports is a script written to automate the SARG (a powerful squid log analyzer) reports and log management. Sarg it self, provide to
end user a generic interface to create reports based on squid access log (begin of log to current date). sarg-reports is useful because it
allow you to easly create and manage Daily, Weekly and Monthly reports.
OPTIONS
A summary of options is included below.
manual
Create Manual report
today Create Today report
daily Create Daily report
weekly Create Weely report
monthly
Create Monthly report
CRONTAB
If you want the reports can be generated automatically insert the following lines (the today report creation time depend mostly of your
sarg server load average, tune it):
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
00 08-18/1 * * * sarg-reports today
00 00 * * * sarg-reports daily
00 01 * * 1 sarg-reports weekly
30 02 1 * * sarg-reports monthly
REMEMBER: if you use logrotate, configure it to rotate the logs within MONTHLY basis, AFTER sarg-reports created the monthly html report.
VARIABLES
Check before using the sarg-reports that the following variables are set to file /etc/sarg/sarg.conf
SARG
The sarg executable location
CONFIG
The sarg main configuration file location
HTMLOUT
Location where will be saved the reports
PAGETITLE
The title of main index page
LOGOIMG
Image logo to view in main index page
LOGOLINK
HTTP web page link of logo
DAILY
Word 'daily' translation, translate it to your language
WEEKLY
Word 'weekly' translation, translate it to your language
MONTHLY
Word 'monthly' translation, translate it to your language
EXCLUDELOG1
Exclude text from cron emails (normally, sarg, during cron activity, if it don't find any valid records,
EXCLUDELOG2
It will output an error message (usually on 'today' reports). I don't want to be warned by email about this, so, i wrote the 'text'
that will be never logged. This is useful to receive email of real problems only.
AUTHOR
sarg-reports was written by Ugo Viti <ugo.viti@initzero.it>
This manual page was written by Juan Angulo Moreno <juan@apuntale.com>, for the Debian project (but may be used by others).
may 17, 2008 SARG-REPORTS(1)