- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Change the 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
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
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
тАО08-11-2004 08:19 AM
тАО08-11-2004 08:19 AM
I dont want to use ulimit to limit the core file size, but I want to send it to other location than root .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 08:25 AM
тАО08-11-2004 08:25 AM
Re: Change the CORE file location ?
ln -s /tmp/core /exporthome
This might redirect core files to another location.
As far as I know core files show up where they happen.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 08:27 AM
тАО08-11-2004 08:27 AM
Re: Change the CORE file location ?
The location where core files are deposited is dependent on the $PWD value - typically wherever you are are when you start the process.
So you have two options:
1) cd /where/you/want/to/be #when you start the process
or
2) export PWD=/where/you/want/the/corefile #before you start the process.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 08:33 AM
тАО08-11-2004 08:33 AM
Re: Change the CORE file location ?
I am usind an application to show OVW environment to operators. They dont use OVW himself.
Anyone knows how to solve that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 08:55 AM
тАО08-11-2004 08:55 AM
SolutionWell, the httpd process probably uses some sort of script to startup. If so then edit it & add the export PWD=/path/to/corefile up top.
If it's just a binary, then create a script that sets $PWD & runs the binary.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2004 10:39 AM
тАО08-11-2004 10:39 AM
Re: Change the CORE file location ?
This might work for HTTPD but I know of applications that tend to refer files using the relative path and fail to startup.
As such there is no way to get the process core dump to a different directory other than the current directory.