10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear folks
I have a map file of around 54K lines and some of the values in the second column have the same value and I want to find them and delete all of the same values. I looked over duplicate commands but my case is not to keep one of the duplicate values. I want to remove all of the same... (4 Replies)
Discussion started by: sajmar
4 Replies
2. AIX
Hi,
Can you please look into the below errors from syslog in AIX?
And let me know is this a issue? How can I avoid these errors with out affecting my LPAR.
Detail Data
SYSLOG MESSAGE
<27>Aug 23 08:24:28 syslog: slp: 0660-084 The SA failed to decode and compute received message:... (0 Replies)
Discussion started by: System Admin 77
0 Replies
3. Shell Programming and Scripting
Hi,
In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'.
In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies
4. IP Networking
Hello all,
Is it any way to filter or better do not capture at all, duplicate messages?
Thanks in advance (2 Replies)
Discussion started by: @dagio
2 Replies
5. AIX
Hi
Is there any setting in the syslog.conf that I can define a string to disable certain type of message that is generated in the message file
for example I want to stop these type of messages getting generated.
UnablAug 18 07:06:30 local1:warn|warning KCML: WARNING /usr/local/kcml/kcml... (3 Replies)
Discussion started by: antointoronto
3 Replies
6. Red Hat
Good Day.
Any idea on the messages log. it would be a great help to us. Upon checking the on the system logs, I found the following messages:
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald... (1 Reply)
Discussion started by: cabloy
1 Replies
7. HP-UX
Hi,
I'm using HP-UX 11.11 on HP9000/800 PA-RISC system.I am getting the below messages daily in /var/adm/syslog/syslog.log file.Can someone help me out in this regard, why I am getting this messages & how to resolve it. I am using SSH version(HP-UX Secure Shell-A.04.20.004)
Messages:
Nov 26... (2 Replies)
Discussion started by: Mike1234
2 Replies
8. Shell Programming and Scripting
Hello Guys...
I am bit new to shell scripting and was looking for help !!
I have got syslog data on a linux server recording log messages from a device.
I need to seperate the data from log to file so that I can push it excell and get a report from that.
Log is in the format below
"... (2 Replies)
Discussion started by: raj_26apr
2 Replies
9. Shell Programming and Scripting
how can i sort the syslog message, so that the lastest time stamp show first , oldest show last. (1 Reply)
Discussion started by: 3Gmobile
1 Replies
10. Solaris
Few days ago I tried to fix an error in the crontab entry, basically I just add the complete path to run a script and remove an unused script from the crontab. I use crontab -e and mv FIFO FIFO.old command then cron start as cron won't start until I delete or move FIFO. I didn't know that using... (8 Replies)
Discussion started by: loeng
8 Replies
SYSLOG-SUMMARY(1) Syslog-Summary User Manual SYSLOG-SUMMARY(1)
NAME
syslog-summary - summarize the contents of a syslog log file
SYNOPSIS
syslog-summary [-s | --state= filename] [-i | --ignore= filename] [-d | --debug] [-r | --repeat] logfile...
syslog-summary [-h | --help]
DESCRIPTION
This manual page documents briefly the syslog-summary command.
syslog-summary summarizes the contents of log files via the syslog(3) service, by displaying each unique (except for the time) line once,
and also the number of times such a line occurs in the input. The lines are displayed in the order they occur in the input.
OPTIONS
-i filename, --ignore=filename
Read regular expressions from filename and ignore lines in the logfiles that match them.
-s filename, --state=filename
Read state information from filename. The state contains information about the already reported parts of a log file, and prevents
syslog-summary from reporting the same things many times. This is useful when syslog-summary is run from crontab every hour. The file
is created, if it doesn't exist already.
-r, --repeat
Merge "last message repeated * times" lines with the repeated event.
-d, --debug
Enable verbose messages when errors occur (i.e. "debug mode").
-h, --help
Show summary of options.
FILES
/etc/syslog-summary/ignore.rules
Default ignore.rules file with default regular expressions.
DIAGNOSTICS
When reporting a bug, please run syslog-summary with the -d (or --debug) flag enabled.
syslog-summary provides some return codes, that can be used in scripts:
Code Diagnostic
0 Program exited successfully.
1 Something went wrong, please run the program with the debug messages enabled.
AUTHORS
Lars Wirzenius <liw@iki.fi>
Wrote this manpage for the Debian system.
Wrote the first version of syslog-summary.
Maintained the Debian package from 1998 to 2000.
Tommi Virtanen <tv@debian.org>
Maintained the package from 2001 to early 2008.
David Paleino <d.paleino@gmail.com>
Maintains the package since early 2008.
COPYRIGHT
Copyright (C) 2008 David Paleino
Copyright (C) 2001-2007 Tommi Virtanen
Copyright (C) 1998-2000 Lars Wirzenius
This manual page was written for the Debian system (but may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or (at
your option) any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
syslog-summary 02/07/2008 SYSLOG-SUMMARY(1)