Operating System - HP-UX
1833012 Members
3048 Online
110048 Solutions
New Discussion

log files for shutdown and re-boot

 
SOLVED
Go to solution
Doug_3
Frequent Advisor

log files for shutdown and re-boot

Can anyone tell me the various files used to log shutdown and re-boot? I am trying to track down issues with stopping processes and starting them.
I know about these for a 11.11 system
/etc/rc.log
/etc/shownlog
/var/adm/syslog/syslog.log

Are there others?

Thanks in advance!
Doug
5 REPLIES 5
Pete Randall
Outstanding Contributor
Solution

Re: log files for shutdown and re-boot

Doug,

The only other that comes to mind is
/var/adm/syslog/OLDsyslog.log.


Pete

Pete
Jeff Schussele
Honored Contributor

Re: log files for shutdown and re-boot

Hi Doug,

/etc/shutdownlog is the shutdown log.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Patrick Wallek
Honored Contributor

Re: log files for shutdown and re-boot

The /var/adm/syslog/OLDsyslog.log and /etc/rc.log.old will have information for when the machine shuts down.

The /var/adm/syslog/syslog.log and /etc/rc.log will only have information for the most recent startup.
Bill Hassell
Honored Contributor

Re: log files for shutdown and re-boot

There's no specific log for starting or stopping processes as there are many ways to get a process running (manually via shell, automatically by inittab, crontab, inetd) and unless a program is written to log it's activities, it can stop normally or be killed without comment. Now if the program crashes, the default is to leave a core file in the current working directory, so you may have processes with bugs that cause them to crash. Look for core files and decode them with the 'file' command. And for the programs that seem to stop on their own, ask the author how to log activites.


Bill Hassell, sysadmin
Doug_3
Frequent Advisor

Re: log files for shutdown and re-boot

Thank you Pete, Patrick, Jeff and Bill, your help is appreciated.
Regards,
Doug