- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- corefiles as core.<pid>
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
05-12-2005 04:09 AM
05-12-2005 04:09 AM
One of our developers would want the kernel configured to write corefiles as core.
I did a google and found this
"Subject: 8.49 How do I configure the kernel to write corefiles as core.
Added: 07/24/02
If you are using 11.00 or later, set the 'core_addpid' kernel parameter to a non-zero value. The kernel will now create corefiles as core.
My question is, what is the benefit of doing this change on core_addpid? Other than knowing the PIDs? Any Gothhas I should thnk of?
thanks ALL
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:14 AM
05-12-2005 04:14 AM
Re: corefiles as core.<pid>
To find core files you'll need to look cor core.* rather than core.
If a process has core-dumped and exited, knowing it's pid doesn't really help, although running file against the core will tell you the name of the process that produced it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:16 AM
05-12-2005 04:16 AM
Re: corefiles as core.<pid>
Well it "could" be handy in some occasions but from a developper I see more the issue side of it: instead of having 1 core file overwritten again and again because of a bug you will end up with a file system full....
Just thoughts
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:19 AM
05-12-2005 04:19 AM
Re: corefiles as core.<pid>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:19 AM
05-12-2005 04:19 AM
Re: corefiles as core.<pid>
The main problem I see with this is that I can't find that kernel parameter anywhere in my 11.11 system!
Assuming there is such a thing, I can't really see that it would add any overhead. The only ill effect that I can think of is the chance of having multiple core files hanging around eating up space.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:26 AM
05-12-2005 04:26 AM
Re: corefiles as core.<pid>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 04:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 07:40 AM
05-12-2005 07:40 AM
Re: corefiles as core.<pid>
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2005 01:18 AM
05-25-2005 01:18 AM
Re: corefiles as core.<pid>
I am really tempted to rebuild my kernel to add the core_addpid but cant get your suggestion below outta my mind
"Because the command
echo "core_addpid/d" | adb /stand/vmunix /dev/kmem
works, this suggests that you could use adb to alter /dev/kmem on the fly to set core_addpid to 1."
Please how do I use adb to alter /dev/kmem on the fly to set core_addpid to 1? Not much experience with adb.....
Thanks
Vic