The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM



Thread: CORE in HP-UX
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-25-2008
jim mcnamara jim mcnamara is offline
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,419
the file named core will be in the current working directory of the iplanet process - or iplanetd process or whatever it is called. It may be several processes.
Assuming there is an iplanet user account
Code:
awk -F: '/iplanet/{print $6}' /etc/passwd | read homedir
find $homedir -name core -user iplanet
is what I would start with.

to get a core file
Code:
ps -ef | grep iplanet
will give you the pid of the process
Code:
kill -SEGV <pid>
will force the image to dump core
Reply With Quote