09-26-2009
Re-Generate error report
Hi
Is there a way to re-generate AIX error report after clearing it? I mean if I did errclear 0, Does the error log get erased? Is there a command that will get entries back in errpt?
I hope that made sense.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Expert,
I have some confusing to generate report from the log file as shown below:
filename :test1.log
start_time date end_time number code
P 000029.621 20070823 000029 12134567890 111111111111 00 0 000 003... (4 Replies)
Discussion started by: bucci
4 Replies
2. Shell Programming and Scripting
Hi Team,
I need a suggestion/comments for my below requirement.
I have a procedure which performs some DDL operations & loads data into a Oracle table. This status contains Audit data.
What i wanted to do is, once the procedure is completed (daily), shell script should retrive the data from the... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies
3. Shell Programming and Scripting
Hi
Please help me to resolve the below query.
My shell script has generated a file output.file like below
********************************
DROP TABLE GPS_CONTACT_DETAILS
DB20000I The SQL command completed successfully.
CREATE TABLE GPS_CONTACT_DETAILS ( CONTACT_ID ... (8 Replies)
Discussion started by: sailaja_80
8 Replies
4. Shell Programming and Scripting
I am trying to generate a report for a file called phone_book
awk -f {phone_book}
why does this not work? Nothing happens at all. (2 Replies)
Discussion started by: gustave
2 Replies
5. Shell Programming and Scripting
Hi All,
I need to develop a shell script which does sanity check of a data file, as below.
1. For DATE columns, it should check if date is given in proper format or not? For example, if format of date is expected as DD-MON-YYYY HH24:MI:SS and we received the date in formation like DDMMYYYY HH24,... (1 Reply)
Discussion started by: ace_friends22
1 Replies
6. Shell Programming and Scripting
Hello Gurus
Is anyone aware of a script/utility that can be used to generate a report from a combined "sudoers" file for more than 100 servers in one go please?
Basic query: Which particular user or an user group can execute root equivalent commands or has the ability for e.g. to do a... (1 Reply)
Discussion started by: kapil514
1 Replies
7. Shell Programming and Scripting
Hi All,
Script to meet my requirement might be simpler for UINIX experts.. :)
I need to generate an summary report in .txt file using shell script
I have Reject directory in Unix server which contains all reject files for three diff categories- Presentation, Chapter and Scene
Following... (3 Replies)
Discussion started by: Sakthikalluri
3 Replies
8. Shell Programming and Scripting
I have 3 user in my linux machine let's say a,b,c .By Using last command I am able to identify list of last logged in user and by w command who is logged in and what they are doing and by history command all command used by particular user all will be shown.
Now I want to write shell script... (1 Reply)
Discussion started by: beingswarupmall
1 Replies
9. Shell Programming and Scripting
There can be thousand of .ksh in a specific directory where sql files are called from ksh.
Requirement is to loop through all the files content and generate a report like below:
Jobname Type type sqlname
gemd1970 sql daily tran01
gemw1971 sql weekly ... (6 Replies)
Discussion started by: vedanta
6 Replies
10. UNIX for Beginners Questions & Answers
Hi ,
In a directory list of ddl files are stored in the given format above. Above is the sample ddl file. The ddl file name is same as that of table name ie email_notifications.ddl
I want to generate below report using awk utility reading all the ddl files stored in /ddl path
Desired output:... (1 Reply)
Discussion started by: vedanta
1 Replies
LEARN ABOUT DEBIAN
lr_log2mail
LR_LOG2MAIL.IN(1) LogReport's Lire Documentation LR_LOG2MAIL.IN(1)
NAME
lr_log2mail - send a report generated from a log file by email
SYNOPSIS
lr_log2mail [options] service addresses...
lr_log2report --version
lr_log2report --help [dlf-converters|output-formats|report-templates]
OPTIONS
--help [section]
If no argument is given, prints usage information and exits. Argument can be one of the following:
dlf-converters
Prints the list of available DLF converters and exits.
output-formats
Prints the list of available output formats and exits.
report-templates
Prints the list of available report templates and exits.
--version
Prints Lire's version and exits.
--output-format|-o output format
Selects the ouput format in which to generate the report.
--template name
Uses the report configuration named name to generate the report.
--log-file logfile
Selects the log file that should be processed instead of STDIN.
--subject|-s subject
Sets the subject of the email message. Defaults to 'Your format report'.
--extra-file file
An additional text file that will be sent along the report. If the output format is txt, it will be appended to the report.
DESCRIPTION
The lr_log2mail command is similar to the lr_log2report(1) command with the difference that the report is sent by email. The log file is
read from STDIN or from the file specified using the --log-file option. The format of the log file is specified using the dlf_converter
argument. Use the --help-dlf-converters option to get a list of all currently available DLF converters. All remaining arguments are
interpreted as email addresses to which to send the report. In case the log is passed in a compressed format, it's uncompressed on the fly,
using gzip(1).
The report will be encapsulated in a MIME email appropriate for the output format. For example, ASCII reports will be sent inline, PDF
reports will be sent as a file attachment and HTML reports should appear inline in a HTML-capable mail reader.
The From and Reply-To headers in the outgoing emails are set to the values of the lr_mail_from and lr_mail_replyto configuration variables.
EXAMPLE
% lr_log2mail -s "bind8 report" bind8_query
root "Joe User <joe@example.com>" < /var/log/query.log
SEE ALSO
lr_log2report(1), lr_xml2report(1), lr_xml2mail(1), lire(1), lire(7), documentation in the Lire User Manual
AUTHORS
Joost van Baal <joostvb@logreport.org>
Francis J. Lacoste <flacoste@logreport.org>
VERSION
$Id: lr_log2mail.in,v 1.60 2006/07/23 13:16:33 vanbaal Exp $
COPYRIGHT
Copyright (C) 2000-2004 Stichting LogReport Foundation LogReport@LogReport.org
This program is part of Lire.
Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with
http://www.gnu.org/copyleft/gpl.html.
Lire 2.1.1 2006-07-23 LR_LOG2MAIL.IN(1)