- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to change the default core dump directory to /...
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
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
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
тАО06-05-2006 12:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 12:50 AM
тАО06-05-2006 12:50 AM
Re: How to change the default core dump directory to /tmp?
vi /etc/rc.config.d/savecrash
SAVECRASH=1
SAVECRASH_DIR=/tmp
Enrico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 12:55 AM
тАО06-05-2006 12:55 AM
Re: How to change the default core dump directory to /tmp?
Core dumps by default are where the program was run.
If they are getting annoying, providing no value or filling up disk drive they can be disabled.
ulimit -Sc 0
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
тАО06-05-2006 01:02 AM
тАО06-05-2006 01:02 AM
Re: How to change the default core dump directory to /tmp?
SAVECRASH=1
SAVECRASH_DIR= /var/adm/crash <-- This should be large enough to save a full dump.
Its always recommendd to have sufficient space in dump directory (atleast equivalent to physical memory).
Dump space is nothing more than swap space. When a system is running under
normal circumstances the swap space is used as swap but when a system
crashes that same space is then used as a dump area. To determine the
amount of available swap space issue swapinfo.
# swapinfo
Kb Kb Kb PCT START/ RESERVE
TYPE AVAIL USED FREE USED LIMIT kb PRI NAME
dev 524288 24620 499668 5% 0 - 1
/dev/vg00/lvol2
reserve - 251584 -251584
memory 291208 114040 177168 39%
In the example above the only swap space is /dev/vg00/lvol2 with 524288kb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 01:21 AM
тАО06-05-2006 01:21 AM
SolutionThe other core dump is called a system panic and that's where you would edit the crashconf file. Note that /tmp is far too small to hold a carsh dump.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 01:23 AM
тАО06-05-2006 01:23 AM
Re: How to change the default core dump directory to /tmp?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2006 01:52 AM
тАО06-05-2006 01:52 AM
Re: How to change the default core dump directory to /tmp?
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=728058&admit=-682735245+1149515421307+28353475