HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to make a process to generate core file.
Operating System - HP-UX
1834928
Members
2938
Online
110071
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-19-2003 12:02 AM
09-19-2003 12:02 AM
How to make a process to generate core file.
Hi,
I am running a process which crashes after running for long. It does not produce any core
files in its working directory. But I need a core file for analysis. Is there any specific setting to be done on the system to make the process produce a core file? The process crashes after showing the message "Segmentation Fault".
Thanks in advance for any help or suggestions.
Regards
Sunil
I am running a process which crashes after running for long. It does not produce any core
files in its working directory. But I need a core file for analysis. Is there any specific setting to be done on the system to make the process produce a core file? The process crashes after showing the message "Segmentation Fault".
Thanks in advance for any help or suggestions.
Regards
Sunil
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:21 AM
09-19-2003 01:21 AM
Re: How to make a process to generate core file.
Sunil,
Check the env settings for the application. ulimit gives details about those settings. Its available only on sh and not on ksh.
try ulimit -a to list the settings and change the coredump size to any value using ulimit -c.
man sh-posix for more details
HTH,
Umapathy
Also, please assign points to those who help you. Go to your previous threads and do that. This will motivate others to help you more.
Check the env settings for the application. ulimit gives details about those settings. Its available only on sh and not on ksh.
try ulimit -a to list the settings and change the coredump size to any value using ulimit -c.
man sh-posix for more details
HTH,
Umapathy
Also, please assign points to those who help you. Go to your previous threads and do that. This will motivate others to help you more.
Arise Awake and Stop NOT till the goal is Reached!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 01:51 AM
09-19-2003 01:51 AM
Re: How to make a process to generate core file.
Hi,
You need to send the signal SIGQUIT to the process to make it dump core.
Segmentation fault can occur due to many reasons, I guess only debugging can help you. Try using gdb, that will help you a lot.
You need to send the signal SIGQUIT to the process to make it dump core.
Segmentation fault can occur due to many reasons, I guess only debugging can help you. Try using gdb, that will help you a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2003 02:02 AM
09-19-2003 02:02 AM
Re: How to make a process to generate core file.
Hi Sunil,
Sending a
kill -3 PID
to the process will cause it to core dump.
Rgds,
Jeff
Sending a
kill -3 PID
to the process will cause it to core dump.
Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP