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
Razor2::Syslog(3) User Contributed Perl Documentation Razor2::Syslog(3)
NAME
Razor2::Syslog -- Syslog support for Razor2
SYNOPSIS
use Razor2::Syslog;
my $s=new Razor2::Syslog(Facility=>'local4',Priority=>'debug');
$s->send('see this in syslog',Priority=>'info');
DESCRIPTION
This module has been derived from Net::Syslog. Some optimizations were made to Net::Syslog, in particular support for keeping a socket
open. What follows is the documentation for Net::Syslog, which completely applies to this module.
Net::Syslog implements the intra-host syslog forwarding protocol. It is not intended to replace the Sys::Syslog or Unix::Syslog modules,
but instead to provide a method of using syslog when a local syslogd is unavailable or when you don't want to write syslog messages to the
local syslog.
The new call sets up default values, any of which can be overridden in the send call. Keys (listed with default values) are:
Name <calling script name>
Facility local5
Priority err
SyslogPort 514
SyslogHost 127.0.0.1
Valid Facilities are: kern, user, mail, daemon, auth, syslog, lpr, news, uucp, cron, authpriv, ftp, local0, local1, local2,
local3, local4, local5, local6
Valid Priorities are: emerg, alert, crit, err, warning, notice, info, debug
AUTHOR
Les Howard, les@lesandchris.com
Vipul Ved Prakash, mail@vipul.net
SEE ALSO
syslog(3), Sys::Syslog(3), syslogd(8), Unix::Syslog(3), IO::Socket, perl(1)
perl v5.12.1 2005-05-09 Razor2::Syslog(3)