05-03-2010
actually I am looking for 3rd party tool to analyze the messages, it gives the critical, medium and low priority for the errors and it gives a solutions & suggestions.
I have seen one tool like this. the ppl are getting the /var/adm/messages and upload it to this tool and they can analyze the messages (dependent to the messages ID)
thanks,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Just want to check with all of you out there what does the following warning means in my "messages" file in /var/adm
the warning is Prevous Time Adjustment Incomplete , does it mean my hard ware is faulty if so which piece of hardware it is ? (1 Reply)
Discussion started by: owls
1 Replies
2. Solaris
Solaris 8/ sun 420R
Checked /var/adm/messages file and got the following message:
Dec 4 16:40:05 serverXYZ ConfigProvider: get_pkg_instdate: getdate failed for the standard C locale (7)
Does anyone know what this means? Looked up getdate but do not understand....
Thanks. (1 Reply)
Discussion started by: finster
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
No log entry is found in messages files. The file size is 0. We are using Solaris 9. Anyone knows what could be wrong. (3 Replies)
Discussion started by: FrankC
3 Replies
4. Solaris
Hello Friends,
I am geting the folowing error in /var/adm/message is it disl related problem?
if yes.. how to check all the disk are perfect or not?
Sep 15 06:01:12 scsi: WARNING: /pci@1f,700000/scsi@2/sd@2,0 (sd7):
Sep 15 06:01:12 Error for Command: write(10) Error Level:... (5 Replies)
Discussion started by: bullz26
5 Replies
5. Solaris
Hi all,
where I can find a list and meaning of the ID number (for example ID 353554 kern.warning)?
Thanks in advance
Pierluigi (1 Reply)
Discussion started by: Petrucci
1 Replies
6. Solaris
Check message file and result posted below.
Can anyone tell me what this is a sign of, what does it mean?
server1% more messages.0
Dec 02 09:35:06 server1 bsd-gw: Inval
id protocol request (65): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA^\\2... (6 Replies)
Discussion started by: finster
6 Replies
7. Solaris
hi sirs
can u tell the difference between /var/log/syslogs and /var/adm/messages
in my working place i am having two servers.
in one servers messages file is empty and syslog file is going on increasing..
and in another servers message file is going on increasing but syslog file is... (2 Replies)
Discussion started by: tv.praveenkumar
2 Replies
8. UNIX for Advanced & Expert Users
The /var/adm/messages in Solaris seem to log more system messages/errors compared to /var/log/messages in Linux.
I checked the log level in Linux and they seem OK.
Is there any other log file that contains the messages or is it just that Linux doesn't log great many things? (2 Replies)
Discussion started by: gomes1333
2 Replies
9. Shell Programming and Scripting
grep \"^`date "+%b %d %T"`\" /var/adm/messages | egrep \"emerg|alert|crit|err|warning\
but get an output like this
ksh: alert: not found
ksh: crit: not found
ksh: err: not found
ksh: warning": not found
grep: can't open "19"
grep: can't open "16:27:16"" (1 Reply)
Discussion started by: arch12
1 Replies
10. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
strlog(9r) strlog(9r)
NAME
strlog - General: Submits messages for logging
SYNOPSIS
#include <sys/stream.h> #include <sys/strlog.h>
int strlog(
short driverid,
short minorid,
char level,
unsigned short flags,
char *format,
unsigned arg1,
);
ARGUMENTS
Specifies the identification number of the driver or module submitting the message. Specifies the identification number for a particular
minor device. Specifies the tracing level for selective screening of low-priority messages. Specifies a flag value. You can pass one of
the following valid flag values: Pass the message to the error logger. Pass the message to the tracer. Print the message on the console
terminal. Specifies a printf style format string. The % s, % e, % g, and % G formats are not allowed. Specifies zero or more arguments
to the printf routine.
DESCRIPTION
The strlog routine submits formatted messages to the log driver. You can retrieve the messages with the getmsg system call. The flags argu-
ment specifies the type of message and where it is to be sent. The strace command receives messages from the log driver and sends them to
the standard output. The strerr daemon receives error messages from the log driver and appends them to a file called
/var/adm/streams/error.mm-dd, where mm-dd identifies the date of the error message.
RETURN VALUES
The strlog routine returns the value 0 (zero). If the message is not seen by all the readers. Otherwise, it returns the value 1.
strlog(9r)