- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Using ulimit to get corefiles (points!)
Operating System - Linux
1753745
Members
4774
Online
108799
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
05-07-2009 10:39 AM
05-07-2009 10:39 AM
Re: Using ulimit to get corefiles (points!)
Heironimus is correct.
If the daemon's startup script does not contain any "cd" commands, the daemon's working directory is usually the same as the working directory of the process that started the script. If the script was executed automatically by the system startup scripts, the working directory is usually "/". Normally only root should have write access there.
Some security-sensitive daemons may be programmed to internally change their working directory to some safe location, usually /tmp.
If you are unsure, you can find out the working directory of any running process with "ls -l /proc//cwd". That is a (virtual) symlink that always points to the current working directory of that process.
MK
If the daemon's startup script does not contain any "cd" commands, the daemon's working directory is usually the same as the working directory of the process that started the script. If the script was executed automatically by the system startup scripts, the working directory is usually "/". Normally only root should have write access there.
Some security-sensitive daemons may be programmed to internally change their working directory to some safe location, usually /tmp.
If you are unsure, you can find out the working directory of any running process with "ls -l /proc/
MK
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2009 11:49 PM
05-07-2009 11:49 PM
Re: Using ulimit to get corefiles (points!)
Thanks Hieronimus and Matti for your further explanations. I am not sure this is the correct explanation for the effects I am seeing. I will continue to investigate and let you know what I find out, Christian
If someone wants to play around and see if he gets the same effect: it is just the HP Operations Agent on RHEL5u1 x86.
If someone wants to play around and see if he gets the same effect: it is just the HP Operations Agent on RHEL5u1 x86.
Yeshua loves you!
- « Previous
-
- 1
- 2
- Next »
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