- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How generates core file without stop process?
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
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
07-14-2006 08:47 PM
07-14-2006 08:47 PM
How generates core file without stop process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 09:47 PM
07-14-2006 09:47 PM
Re: How generates core file without stop process?
Not sure if it is possible without killing the process.
# kill -6 PID
will produce a core file, but will also kil, the process.
Other suggestion is to use truss/tusc.
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/tusc-7.8/
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 11:47 PM
07-14-2006 11:47 PM
Re: How generates core file without stop process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2006 01:24 AM
07-15-2006 01:24 AM
Re: How generates core file without stop process?
Don't think it's possible.
Check the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005951
Read:
http://www.ma.utexas.edu/cgi-bin/man-cgi?kill+1
signum signame Name Description
0 SIGNULL Null Check access to pid
1 SIGHUP Hangup Terminate; can be trapped
2 SIGINT Interrupt Terminate; can be trapped
3 SIGQUIT Quit Terminate with core dump; can be trapped
9 SIGKILL Kill Forced termination; cannot be trapped
15 SIGTERM Terminate Terminate; can be trapped
24 SIGSTOP Stop Pause the process; cannot be trapped
25 SIGTSTP Terminal stop Pause the process; can be trapped
26 SIGCONT Continue Run a stopped process
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2006 03:10 PM
07-15-2006 03:10 PM
Re: How generates core file without stop process?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2006 03:20 PM
07-15-2006 03:20 PM
Re: How generates core file without stop process?
1. HP's gdb (/opt/langtools/bin/gdb) from version 3.2 onwards has a command 'dumpcore' to achieve this.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005951
2. gcore
3. use comand "thread apply all bt"; this method just print call stack, sometimes it's enough
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2006 03:20 PM
07-15-2006 03:20 PM
Re: How generates core file without stop process?
1. HP's gdb (/opt/langtools/bin/gdb) from version 3.2 onwards has a command 'dumpcore' to achieve this.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1005951
2. gcore
3. use gdb comand "thread apply all bt" ; this method just print call stack, sometimes it's enough