- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- core file 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
05-19-2005 07:38 PM
05-19-2005 07:38 PM
core file location
All answers appreciated.
Thanks,
Davor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:45 PM
05-19-2005 07:45 PM
Re: core file location
Anyway, if the program do a cd itself, there's nothing you can do (AFAIK).
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 07:56 PM
05-19-2005 07:56 PM
Re: core file location
#find / -name core -exec ll {} \;
you will find out the location of each core file.
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:32 PM
05-19-2005 08:32 PM
Re: core file location
I haven't used 10.20 for a while, so apologies if my memory isn't what it ought to be.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:33 PM
05-19-2005 08:33 PM
Re: core file location
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-19-2005 08:55 PM
05-19-2005 08:55 PM
Re: core file location
create a soft link to redirect the core to another location.
regards.
Henk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2005 01:27 AM
05-20-2005 01:27 AM
Re: core file location
Savecore can be used to save process cores as well, it was very useful and I was sorry to see it go away. Savecrash, on the other hand, can only be used for system crashes which to be honest scares me a little - we are in a way warned to expect system crashes so there's no point in worrying over process coredumps :)
Thanks to all for your replies, it seems that doing a cd is the only way around it, since we already tried the softlink but we can not use it for reasons I will not mention it on a public forum :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2005 02:18 AM
05-21-2005 02:18 AM
Re: core file location
savecrash performs the same function in 11.xx and later. Every operating system can crash, especially if it is not up to date on patches. But in both cases, savecrash and savecore performa the same task: copy an HP-UX crashdump into a file or onto a tape.
When a program crashes, the OS follows a standard set of steps to create a core file. The first is to check the environment for a ulimit value that restricts the size of a core file. If the core option is 0, the core dump is aborted and no file is created. Otherwise, the size of the core file is limit ed to the setting of ulimit -c.
Creating a core file has a fairly significant impact on the system, especially multi-processor systems where all processors must be signaled with a spinlock. The spinlock limits all processors to not run certain parts of the OS until the core dump is complete.
To eliminate all core files, the simplest way is to run ulimit -c 0 which sets the size of a core file to zero (which equals no file). If yuou have developers writing (fixing?) code, you can put:
ulimit -Scc 0
in /etc/profile and now the default will be be zero core files unless the user changes ulimit -c to a non-zero value. NOTE: ulimit options are not available in ksh until the most recent patch for ksh. It has been always available with the HP-UX POSIX shell.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2005 02:57 PM
05-22-2005 02:57 PM
Re: core file location
The extra c was a keyboard glitch.
Bill Hassell, sysadmin