HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Versioning of core files
Operating System - HP-UX
1827136
Members
2983
Online
109716
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
06-16-2006 07:36 AM
06-16-2006 07:36 AM
Versioning of core files
Saw this in another thread in response to a question about where core files are written...
"In HP-UX it's just the CWD provided that the process has write permissions in the CWD and can overwrite any previously existing core file. More ver because the file is simply 'core' rather than, for example, core.12345 (core.PID) the last program crash wins. Man 4 core for details."
Is there, then, no way to configure an HP-UX system to allow multiple core files to be kept in a given directory?
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 07:50 AM
06-16-2006 07:50 AM
Re: Versioning of core files
Allow me one question: How many core files do you expect?
If the first "core" is written, you should find the reason why, IMHO.
BTW, core files could also be very large.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
If the first "core" is written, you should find the reason why, IMHO.
BTW, core files could also be very large.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 08:00 AM
06-16-2006 08:00 AM
Re: Versioning of core files
Unless you are manipulating the core file by initiating the core then of course you can send the out put to core.???? being the pid or otherwise by issuing a kill -11 or by using a utility aps32.dat, that will send the output to a specific file. If the application abnormally aborts and creates a core file then i don't know of any way to save it unless you mv it to another file name after its created.
If no one ever took risks, Michelangelo would have painted the Sistine floor. -Neil Simon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2006 08:04 AM
06-16-2006 08:04 AM
Re: Versioning of core files
Hi Steve:
You can append the process's pid to the core file it creates thusyly:
...for 11.0 & 11.11
# echo "core_addpid/W 1" | adb -k -w /stand/vmunix /dev/kmem
...for 11.23
# echo "core_addpid/W 1" | adb -o -w /stand/vmunix /dev/kmem
Regards!
...JRF...
You can append the process's pid to the core file it creates thusyly:
...for 11.0 & 11.11
# echo "core_addpid/W 1" | adb -k -w /stand/vmunix /dev/kmem
...for 11.23
# echo "core_addpid/W 1" | adb -o -w /stand/vmunix /dev/kmem
Regards!
...JRF...
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP