03-26-2009
Well, on my Solaris I've found something interesting in log(7D). As I understand online manuals I skimmed, you need to write program which will catch all messages, going to STREAM driver in /dev/log... Whether it's possible or not I can't say now
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I need a few explanation about the log files for system messages:
/var/adm/messages and
/var/log/syslog.
As /var/adm/messages is empty on my machine, i need help.
First, i would like to know what the difference between these 2 files is? Do they contain different kinds of system... (3 Replies)
Discussion started by: VeroL
3 Replies
2. UNIX for Advanced & Expert Users
Hi Experts,
I'm getting the following errors on /var/adm/messages file permanently.
Dec 28 10:19:38 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec 28 10:20:53 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec 28 10:22:08 ioocsrv1 bsd-gw: open(dfA415ioocsrv3): File exists
Dec... (1 Reply)
Discussion started by: nikk
1 Replies
3. IP Networking
The situation:
a Unix system (UnixWare 7.1.3) to which are connected other systems;
various p.c. on the LAN that they connect Unix to the system via TelNet.
The problem:
I need to intercept the address IP of the p.cs. connected via telnet to the Unix system.
Particularly, I have to know the... (2 Replies)
Discussion started by: paololrp
2 Replies
4. Shell Programming and Scripting
I am looking to do a shell script that can send something simple via UDP from server 1 - to server 2
I want to be able to see on server 2 that I received everything expected..
ie.. I am looking at this to avoid using ping / traceroute to highlight network issues.. if a UDP packet gets lost... (1 Reply)
Discussion started by: frustrated1
1 Replies
5. AIX
I would like to port a small utility from Linux to AIX and, lacking any software development knowledge for AIX, need some help:
I have a library called Snoopy. Basically it intercepts the execv() and execve() system calls and logs them to the syslog-facility AUTHPRIV then passes control over to... (1 Reply)
Discussion started by: bakunin
1 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. UNIX for Advanced & Expert Users
I need a broad spectrum understanding on this subject, and any help would be greatly appreciated.
First of all, as I understand it...
The way the video hardware works is the CPU sends information about input and possible changes to the display, the video card receives these changes, makes the... (2 Replies)
Discussion started by: ciNG
2 Replies
8. Homework & Coursework Questions
Write a program using select, which will create some number of child processes that continuously send text messages to the parent process using pipes. Each child has its own pipe that it uses to communicate with the parent. The parent uses select () to decide what pipes should be processed to... (1 Reply)
Discussion started by: ripssingh
1 Replies
9. UNIX for Advanced & Expert Users
In our company we work for our customer with a job# philosophy, managing all the informations about a job in a share with directories whose name is starting with job number. Under this entry point we have a standard structure of folders, comprising a "communications" folder.
When we send emails... (0 Replies)
Discussion started by: vroby67
0 Replies
10. Solaris
Hi all
I have a newly installed Oracle X2-4 server running Solaris 10 x86 with the latest patches.
I have one non-global zone configured running an Oracle DB instance.
After configuring IPMP failover between two NICs on the server and rebooting I am seeing the /var/adm/messages being flooded... (7 Replies)
Discussion started by: notreallyhere
7 Replies
LEARN ABOUT DEBIAN
syslog-summary
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)