- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Core File Creation
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
09-22-2005 02:10 AM
09-22-2005 02:10 AM
Core File Creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:12 AM
09-22-2005 02:12 AM
Re: Core File Creation
If you want to stop it system wide, add this to /etc/profile
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
09-22-2005 02:17 AM
09-22-2005 02:17 AM
Re: Core File Creation
Core files are generated automatically , when ever an application or sevice terminates or stops abnormally. And it generates , from the information from running kernel and system memory informations,.
If a user runs a command periodically , that terminates and generates a core file , thus a user can generate a core file , else not.
/usr/include/sys/core.h
Here is the c header file, that determinces the format of core image file.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:18 AM
09-22-2005 02:18 AM
Re: Core File Creation
Locate a core and do
file /..path../core
This telling you the process and the reason.
The file owner is the user.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:24 AM
09-22-2005 02:24 AM
Re: Core File Creation
If you want to create a core file do a 'kill -quit
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2005 02:32 AM
09-22-2005 02:32 AM
Re: Core File Creation
That said, a user could certainly exploit a bug in the program by entering wrong data (special characters when numbers are expected, etc). The command to see why a core file was generated is the file command, as in:
file core
Now the message might say:
core: core file from 'myprog' - received SIGQUIT
but that's all the information you'll get. The core file is always left in the current working directory, so if a user kills a process that was started from /tmp but changes to /home/username, then the core file will be in the user's home directory.
Bill Hassell, sysadmin