Operating System - HP-UX
1767171 Members
3156 Online
108959 Solutions
New Discussion

If process is crashed in hpux, is there any log file in which process details are logged

 
karthikj50
Occasional Collector

If process is crashed in hpux, is there any log file in which process details are logged

In Linux machine, if there is process carsh there is entry in /var/log/messages something like this

kernel: [1121533.089747] traps: a.out[29567] trap divide error ip:4004fc sp:7fff58304d00 error:0 in a.out[400000+1000]traps:

Do we have something similiar in hp-ux? I checked in /var/adm/syslog/syslog.log, but did not find any entry. 

If we need to explicitly enable it, then please let me know the settings.

Regards,

Kathik J

1 REPLY 1
Bill Hassell
Honored Contributor

Re: If process is crashed in hpux, is there any log file in which process details are logged

The messages equivalent is /var/adm/syslog/syslog.log, but HP-UX does not log details for program  crash.  You should also look at dmesg to see if anything was recorded on the console path.The core file can be analyzed but you'll need to locate it. For all versions of HP-UX, the core file will be in the current working directory that the program was using. This assumes that ulimit has not limited core file creation. If you are running HP-UX 11.31, your administrator may have changed the location for core files with the coreadm command. You can see if any directories have been setup for core files with the coreadm command.

Once you locate the core file, use the file command to see the reason for the core dump. 



Bill Hassell, sysadmin