- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- set coredump size
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
06-30-2002 03:12 PM
06-30-2002 03:12 PM
I found the core dump size is very large in my workstation, would someone tell me how to set the coredump size?
Thanks a lot .
zhiyong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 03:31 PM
06-30-2002 03:31 PM
SolutionThe core dump size is largely dependent on the size of the program that was in resident memory. In saying that, there a couple of ways in which you try and manage it.
Core dump from system panic. You should leave
this, as it can be analysed later to specific
problems. Have a look at the man page for 'savecrash'
Core dumps from applications. Use can use the
'setrlimit' program. Have a look at the man
page for this. You can also look at the 'ulimit' program. For example if you wanted to set a core limit for a child process you could use 'ulimit -c 4096'
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 03:48 PM
06-30-2002 03:48 PM
Re: set coredump size
For a program you can change it with ulimit command. But ulimit command varies with shell.
in bash U can see it ulimit -Ha -Hard limits
ulimit -Sa -soft limits
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 03:55 PM
06-30-2002 03:55 PM
Re: set coredump size
For HPUX - and posix shell the ulimit command is used to limit user resources
If you specify the -a switch it lists current resources
ulimit -a
If you don't want to create a core file of larger than 1024 blocks, use the following
ulimit -c 1024
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2002 05:04 PM
06-30-2002 05:04 PM
Re: set coredump size
Thanks a lot for your help.
Have a good day.
zhiyong