- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- core files location
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
04-28-2010 06:17 AM
04-28-2010 06:17 AM
I need to set the path location in which a C process puts its core dump file.
Is there a way to do it (alternative to the standard cd in the wanted dir)?
Many thanks
Giuseppe
Solved! Go to Solution.
- Tags:
- coreadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 06:20 AM
04-28-2010 06:20 AM
SolutionYou could call 'coreadm(2)' :
http://docs.hp.com/en/B2355-60130/coreadm.2.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 06:46 AM
04-28-2010 06:46 AM
Re: core files location
can I use the call direclty in my process code, by providing mypid() as process pid?
Giuseppe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 09:55 AM
04-28-2010 09:55 AM
Re: core files location
>can I use the call directly in my process code,
Yes, using getpid(2).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 12:31 PM
04-28-2010 12:31 PM
Re: core files location
To setup this capability, you need to modify memory:
11.00 and 11i v1 (11.11)
echo â core_addpid/W 1â | adb â o â w /stand/vmunix /dev/kmem
11i v2 (11.23)
echo â core_addpid/W 1â | adb â k â w /stand/vmunix /dev/kmem
For 11.31, use the -g option to name the core files (there are many other options, read the man page).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 01:59 PM
04-28-2010 01:59 PM
Re: core files location
11.00 and 11i v1 (11.11)
echo "core_addpid/W 1" | adb -o -w /stand/vmunix /dev/kmem
11i v2 (11.23)
echo "core_addpid/W 1" | adb -k -w /stand/vmunix /dev/kmem
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 02:07 PM
04-28-2010 02:07 PM
Re: core files location
> Bill: Sorry about the MS Office junk characters
Which is why I gave up keeping notes in MS Word and use only fixed-fonts in pure ASCII text files :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2010 04:49 PM
04-28-2010 04:49 PM
Re: core files location
I copy-pasted from a PowerPoint file -- duhhhh
Bill Hassell, sysadmin