- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can core file be deleted
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
11-29-2005 07:46 PM
11-29-2005 07:46 PM
Can core file be deleted
We are having HP RP7400 with OS HP-UX11i and Oracle 9i, 9iAS 2 node cluster with va7100 Array.
In one of the nodes there is core as follows:-
-rw------- 1 oracle dba 18045868 Nov 19 10:07 core
I want to know whether it can be deleted or not, i also want to know the date of the same.
I want to delete it becoz / size is 90%.
Thax in adv.
Wish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 07:50 PM
11-29-2005 07:50 PM
Re: Can core file be deleted
Deleting a core is totally depends upon your need.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 07:50 PM
11-29-2005 07:50 PM
Re: Can core file be deleted
file core
If the filetype is core, delete it.
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 07:56 PM
11-29-2005 07:56 PM
Re: Can core file be deleted
Yes you can delete the core file if you do not need it for any analysis (debug) prupose.
To see what the core file you can do
file core
as other mentioned or
strings core
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 08:04 PM
11-29-2005 08:04 PM
Re: Can core file be deleted
# file core
will give signal and file generated that.
# what core
# strings core
If you don't want to analyse the application then you can remove that. I hope it is generated by oracle application. See the username oracle. I hope it will be.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 08:05 PM
11-29-2005 08:05 PM
Re: Can core file be deleted
sure, core file may be deleted unless u know how to debug it.
use "file core" to find out what error it may be giving.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2005 09:41 PM
11-29-2005 09:41 PM
Re: Can core file be deleted
They can also be prevented from creation.
In /etc/profile or .profile for user
ulimit -Sc 0
No more core files created.
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
11-29-2005 11:58 PM
11-29-2005 11:58 PM
Re: Can core file be deleted
if you are not sure, you can also move it to another file system with more space for further analysis.
There must also be something wrong in your script so that the core file is being generated in / instead of the oracle user home directory or like...
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2005 01:01 AM
11-30-2005 01:01 AM
Re: Can core file be deleted
you cna delete core file.
use command file < core file > to find which application have dumped the core.
Also, use this one line script to reomve all cores conditionally:
PROMPT> find ~ -name core -exec file {} \; -exec rm -i {} \;
--
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2005 01:40 AM
11-30-2005 01:40 AM
Re: Can core file be deleted
You can certainly delete the core file to keep disk/fs space ok. The core file generates due to abnormal termination of process or app. You can find the core file and run
# ls -l core # check the date/time stamp.
# file core ,
# strings core ,
to know details of that core file , if want to know which process/app made that core file. And then can be deleted.
hth,
Raj.