Operating System - HP-UX
1820695 Members
2527 Online
109627 Solutions
New Discussion юеВ

List of log files and there path with details.

 
Durvesh Mendhekar
Regular Advisor

List of log files and there path with details.

Please provide me the list of log files with deatils and there path.

For example : system logs, server shutdown and reboot logs.
9 REPLIES 9
Rob Leadbeater
Honored Contributor

Re: List of log files and there path with details.

Here is a list of log files. Whether it's THE list you're after, is anybody's guess !

/var/adm/messages
/var/adm/binary.errlog
/var/adm/syslog.dated//*.log


Cheers,

Rob
Durvesh Mendhekar
Regular Advisor

Re: List of log files and there path with details.

I have found only one directory
/var/adm/syslog

but the other directories i have not found in unix...

Please assist me as i have to found the
system shutdown and reboot logs

Rob Leadbeater
Honored Contributor

Re: List of log files and there path with details.

System startup messages etc. can be found in /var/adm/messages on all versions of Tru64 Unix I've used...

Are you using Tru64 ?

Cheers,

Rob
Durvesh Mendhekar
Regular Advisor

Re: List of log files and there path with details.

Hi,

I am using HP-UX 11
Steven Schweda
Honored Contributor

Re: List of log files and there path with details.

> I am using HP-UX 11

Then you might get better answers sooner in
an appropriate (HP-UX) forum than you will in
this Tru64 forum.

And "11" is not a precise description of your
operating system. The actual output from,
say, "uname -a" would be more helpful.
Durvesh Mendhekar
Regular Advisor

Re: List of log files and there path with details.

Thanks for your presious help

regards,
Durvesh
Dennis Handly
Acclaimed Contributor

Re: List of log files and there path with details.

You could try "man -k log".
Grayh
Trusted Contributor

Re: List of log files and there path with details.

These should be handy for troubleshooting


/var/adm/syslog/syslog.log
Review with ├в more├в or ├в cat├в to check for errors
Use ├в tail├в to see latest messages
tail -f to monitor ├в real-time├в
/var/adm/syslog/OLDsyslog.log
If system recently rebooted use ├в tail├в to see messages that may have led to reboot
/var/adm/shutdownlog
Use ├в tail├в to check for recent reboots due to panics or hpmc
├в reboot after panic: , isr.ior=0├в 9222ffff.c000000├в
Denotes HPMC or TOC
/etc/rc.log
Check this log for boot-up errors ├в look for ├в fail├в or ├в warn├в

=============================================

Logtool / EMS Logs
/var/stm/logs/os
contains diagnostic logs used by STM
log1.raw, memlog, ccerrlog
binary format, use STM to convert to ascii

/var/opt/resmon/log
Event Monitor System (EMS) log files
event.log, event1.log
ascii format

=============================================

Logtool - cstm
Cstm
cstm
cstm> ru logtool
Logtool Utility> SR (select raw log)
Logtool Utility > FR (format raw log)
Logtool Utility > DF (formatted display filter)
Logtool Utility > FL (display formatted log)
Logtool Utility > SL (switch log)


Memory Log
Check for memory errors
mstm>Tools>Utility>Run>
Select Utility > Logtool
Memory > Report Log > View Detail

cstm
cstm> ru logtool
logtool utility> vd

Information log output

# cstm
cstm> sall selects all devices
cstm> info collects information
cstm> il displays information logs
Standard input [Press space to continue, q to quit, h for help]
Type ├в q├в
Enter Done, Help, Print, SaveAs, or View [Done] SaveAs
FileName: /tmp/infolog.txt
Enter Done, Help, Print, SaveAs, or View [Done] Done
cstm> quit

HPMCs
/var/tombstones
ts99, ts98, etc. files
check the timestamps
-rw-r--r-- 1 root root 45283 Jan 6 17:43 ts97
-rw-r--r-- 1 root root 47219 Dec 5 08:00 ts98
-rw-r--r-- 1 root root 47219 Dec 6 17:00 ts99
Crash Dumps
Default is /var/adm/crash
/etc/rc.config.d/savecrash (11.X)
change dump location ├в SAVECRASH_DIR=
enable/disable saving dumps ├в SAVECRASH=
/etc/rc.config.d/crashconf (11.X)
CRASHCONF_ENABLED=1
configure ├в full├в crash dump ├в CRASH_INCLUDED_PAGES
/etc/rc.config.d/savecore (10.X only)
change dump location
enable/disable saving dumps


Grayh
Trusted Contributor

Re: List of log files and there path with details.

I thought I should upload a word document

Find the attached