- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- difference between core dumps file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:17 PM
08-03-2005 07:17 PM
I have heard that in case we want to take core dump of weblogic server on hpux 11i, we need to execute kill -3 pid (of wls managed server process id).
Someone had suggested to take core dump; we need to execute kill -6 pid command. ( i didn't find kill -6 option on hpux with man command).
It seems java core dump and os core dumps are different ??
Can someone shed some light on this ?
Thanks in advance,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:32 PM
08-03-2005 07:32 PM
Re: difference between core dumps file
read this doc about kill -3:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079997107
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 07:56 PM
08-03-2005 07:56 PM
Re: difference between core dumps file
There you'll find a table with short explanations and default actions of processes catching the signal.
Those marked with Roman ii are considered to dump their core (if so implemented).
Not being a Java developer and thus not knowing much about Java, I guess that a Java "core" dump is rather a stack trace that is being written when a method catches an exception it doesn't know how to handle because its class didn't implement an exception handler for it.
It then would pass the exception up the stack, hoping that a parent class knows how to handle the exception.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 08:01 PM
08-03-2005 08:01 PM
Re: difference between core dumps file
Signals with Default type 2,
======================================================
ii Abnormal termination of the process. Additionally,
implementation-dependent abnormal termination actions,
such as creation of a core file, may occur.
======================================================
will generate core files such as,
SIGABRT ii Process abort signal.
SIGSEGV ii Invalid memory reference.
etc.
You can know the type of signal which passed to the file as,
# what core
# file core
# gdb core
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2005 11:27 PM
08-03-2005 11:27 PM
Re: difference between core dumps file
You won't find much information on manual pages: the thread dump is produced by the JVM, not by the OS.
Sun's JVM (which is ported to HP-UX by HP) is programmed to catch the OS-level signal SIGQUIT and produce a thread dump when the signal is received. This information is available in the Java SDK documentation.
On HP-UX, SIGQUIT is the signal number 3, hence "kill -3 pid_of_JVM".
(Use "kill -l" to get a table listing the signal names and numbers, if you're interested.)
The thread dump is a human-readable (or at least programmer-readable) listing of threads within the JVM and information on what Java code each thread is currently executing. This is very useful for Java application debugging. The JVM does not usually stop when it receives SIGQUIT: instead, it just prints the thread dump on the standard output of the JVM process and keeps running.
The core dump, on the other hand, is a binary dump of the entire workspace of the process. If the core dump is taken from a Weblogic/Java process, it is often rather big. Taking a core dump from a process usually means that the process gets killed.
To get useful information about a core dump of a Java process, one must first map out the JVM's internal state from the core dump. Only after that you can start finding out things about the Java application that was running inside the JVM. This requires deep knowledge about the inner workings of the JVM, so it is not that useful for an average Java programmer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2005 12:31 AM
08-04-2005 12:31 AM
Re: difference between core dumps file
In the RC, we refer to the OS core dump as a "core dump" or "system dump" because it dumps the entire memory for the system when it occurs (either when the OS panics or when someone generates a Transfer of Control). There are certain tools written to read this type of dump file: adb, q4, and some additional tools that are internal to HP.
We refer to a core file from an application or command as a "core file" or "application core file" (i.e. core FILE vs core DUMP since the Dump is made up of multiple files). A (generally) different set of tools is used for debugging core FILES: adb, gdb, etc. q4 (for instance) does NOT work on application core files.
Best regards,
Oz