| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Sun=/var/messages HP-UX=???
dmesg... now, that, I know.
It needs root privs to use. And unless it is run via some automated setup (cron, as you mentioned) to create a public accessible report, we are stuck with syslog.log. At least, on most systems, it is public readable...
Thanks..
-----Original Message-----
Sent: Friday, March 14, 2003 3:29 PM
To: Multiple recipients of list ORACLE-L
hpux 11.0
man dmesg shows the standard setup using /var/adm/messages.
dmesg looks in a system buffer for recently printed diagnostic
messages and prints them on the standard output. The messages are
those printed by the system when unusual events occur (such as when
system tables overflow or the system crashes). If the - argument is
specified, dmesg computes (incrementally) the new messages since the
last time it was run and places these on the standard output. This is
typically used with cron (see cron(1)) to produce the error log
/var/adm/messages by running the command:
/usr/sbin/dmesg - >> /var/adm/messages
every 10 minutes.
The arguments core and system allow substitution for the defaults
/dev/kmem and /stand/vmunix respectively, where core should be a file
containing the image of the kernel virtual memory saved by the
savecore(1M) command and system should be the corresponding kernel.
If the system is booted with a kernel other than /stand/vmunix say
/stand/vmunix_new, dmesg must be passed this name, the command must
be,
/usr/sbin/dmesg [-] /dev/kmem /stand/vmunix_new
WARNINGS
The system error message buffer is of small, finite size. dmesg is
run only every few minutes, so there is no guarantee that all error
messages will be logged.
AUTHOR
dmesg was developed by the University of California, Berkeley.
FILES
/var/adm/messages error log (conventional location)
/var/adm/msgbuf memory scratch file for - option
/dev/kmem special file containing the image of kernel
virtual memory
/stand/vmunix the kernel, system name list
> -----Original Message-----
> From: Deshpande, Kirti [mailto:kirti.deshpande_at_verizon.com]
> Sent: Friday, March 14, 2003 3:41 PM
> To: Multiple recipients of list ORACLE-L
> Subject: RE: Sun=/var/messages HP-UX=???
>
>
> What version of HP-UX?
> Here is what I get on HP-UX 11.0:
>
> df2hp105 [IWHA]: ll /var/adm/me*
> /var/adm/me* not found
>
> - Kirti
>
> -----Original Message-----
> Sent: Friday, March 14, 2003 10:44 AM
> To: Multiple recipients of list ORACLE-L
>
>
> Actually /var/adm/messages on hpux is the message file, which
> my solaris 8(2.8) machine is also using /var/adm/messages,
> maybe I changed this, I don't remember.
> /var/adm/syslog/ is the default syslog directory equivalent
> to /var/log/ on solaris.
>
> > -----Original Message-----
> > From: Nelson, Allan [mailto:anelson_at_midf.com]
> > Sent: Thursday, March 13, 2003 9:20 AM
> > To: Multiple recipients of list ORACLE-L
> > Subject: RE: Sun=/var/messages HP-UX=???
> >
> >
> > /var/adm/syslog/syslog.log is the hp-ux equivelant.
> >
> > -----Original Message-----
> > Sent: Thursday, March 13, 2003 12:59 AM
> > To: Multiple recipients of list ORACLE-L
> >
> >
> > I monitor /var/messages on my Sun boxes, does HP-UX have
> anytype of OS
> > log files worth monitoring?
> >
> > Thanks,
> > Ethan
> --
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Deshpande, Kirti INET: kirti.deshpande_at_verizon.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Mar 14 2003 - 16:48:49 CST
![]() |
![]() |