- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to enable gettign core file on HP 11
Operating System - HP-UX
1753602
Members
6075
Online
108796
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-03-2003 03:37 PM
тАО12-03-2003 03:37 PM
How to enable gettign core file on HP 11
Hello All,
Can someone tell me what I need to do to get a core file after getting segmentation violation. I can see my process is getting
SIGSEGV, but no core file is generated.
I am using HP-UX 11 machine.
Thanks,
Amod
Can someone tell me what I need to do to get a core file after getting segmentation violation. I can see my process is getting
SIGSEGV, but no core file is generated.
I am using HP-UX 11 machine.
Thanks,
Amod
If you can't change it, enjoy it !!
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2003 04:41 PM
тАО12-03-2003 04:41 PM
Re: How to enable gettign core file on HP 11
As far as I know core files are enabled by default.
ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 4096
Use the ulimit command to change the coredump block to a reasonable number.
ulimit -c 100
Changes the output to look like this:
[2897#] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 100
nofiles(descriptors) 4096
That should do it.
SEP
ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 0
nofiles(descriptors) 4096
Use the ulimit command to change the coredump block to a reasonable number.
ulimit -c 100
Changes the output to look like this:
[2897#] ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 100
nofiles(descriptors) 4096
That should do it.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО12-03-2003 07:06 PM
тАО12-03-2003 07:06 PM
Re: How to enable gettign core file on HP 11
Also make sure that the process can write a core file in the current directory of the process. The directory should be writable and no core file (or a writable) exists or there is a writable core file in the directory.
Remember that the core file is not placed in the directory where the process starts, but in its current directory!
Remember that the core file is not placed in the directory where the process starts, but in its current directory!
Every problem has at least one solution. Only some solutions are harder to find.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2003 01:38 AM
тАО12-04-2003 01:38 AM
Re: How to enable gettign core file on HP 11
There is also the setuid bit which prevent to produce a core if the user is not owner of the
file.
ls -l toto
-r-sr-xr-x root bin ... toto
^ this s.
file.
ls -l toto
-r-sr-xr-x root bin ... toto
^ this s.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP