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
Agent::Driver::Syslog(3pm) User Contributed Perl Documentation Agent::Driver::Syslog(3pm)
NAME
Log::Agent::Driver::Syslog - syslog logging driver for Log::Agent
SYNOPSIS
use Log::Agent;
require Log::Agent::Driver::Syslog;
my $driver = Log::Agent::Driver::Syslog->make(
-prefix => prefix,
-facility => "user",
-showpid => 1,
-socktype => "unix",
-logopt => "ndelay",
);
logconfig(-driver => $driver);
DESCRIPTION
The syslog logging driver delegates logxxx() operations to syslog() via the Sys::Syslog(3) interface.
The creation routine make() takes the following switches:
"-facility" => facility
Tell syslog() which facility to use (e.g. "user", "auth", "daemon"). Unlike the Sys::Syslog(3) interface, the facility is set once and
for all: every logging message will use the same facility.
If you wish to log something to "auth" for instance, then do so via Sys::Syslog directly: there is no guarantee that the application
will configure its Log::Agent to use syslog anyway!
"-logopt" => syslog options
Specifies logging options, under the form of a string containing zero or more of the words ndelay, cons or nowait.
"-prefix" => prefix
The prefix here is syslog's identification string.
"-showpid" => flag
Set to true to have the PID of the process logged. It is false by default.
"-socktype" => (unix | inet)
Specifies the logging socket type to use. The default behaviour is to use Sys:Syslog's default.
CHANNELS
All the channels go to syslog(), of course.
AUTHOR
Raphael Manfredi <Raphael_Manfredi@pobox.com>
SEE ALSO
Log::Agent::Driver(3), Log::Agent::Channel::Syslog(3).
perl v5.10.0 2002-03-09 Agent::Driver::Syslog(3pm)