One Last Question about Core Files (distinguish) URGENT


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting One Last Question about Core Files (distinguish) URGENT
# 1  
Old 02-16-2003
One Last Question about Core Files (distinguish) URGENT

now, what do you define as core files.

there are some files outthere with the name perl.core, I-core.png, core.png

I mean, are these classified as core files too??? i thought core files are simply files called "core". Please help me out

this is urgent
# 2  
Old 02-16-2003
core file --- a file written by the kernel when it is terminating a process as a result of the default action of certain singals. Which signals varies from system to system. A typical list might be SIGABRT, SIGFPE, SIGILL, SIGQUIT, SIGSEGV, and SIGBUS.

With most versions of UNIX, yes they start out with a name of core. But some versions of UNIX give you control over the name. Recent SunOS versions have a coreadm command that can do this.

And you can always do something like "mv core perl.core".

I certainly would not assume that a file with "core" somewhere in the name must be a core file. To be sure, you need to inspect the contents somehow. In previous posts people have described tools like: "file", and "adb". Did you find any that work on your system? Try it against these candidates.

But bear in mind that if someone did do "mv core perl.core", it may that they want that file.
# 3  
Old 02-18-2003
core.png is very possibly a PNG image file - try using the "file" command on it.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Question: # of ldoms on T5240 with 2 T2 US 8 core

I have a T5240 with 2 T2 US 8 core.. Theoretically how many ldoms can I configure? (5 Replies)
Discussion started by: Iftikhar Barrie
5 Replies

2. UNIX for Advanced & Expert Users

Very urgent question please!!!!

I have a file like below. I need from each group of messages only first lines after error. Could you pleasde help me to write a correct program? expected output is like this "Error 126614 in debt instrument header for debt instrument ID 10115537: The rating reason RATING AFFIRMED selected for... (1 Reply)
Discussion started by: digioleg54
1 Replies

3. Shell Programming and Scripting

Urgent Awk Question

I need to get the lines in a log file matching a particular string, and print out the output to the screen from the point of the match, to the end of the file. I know this code does it: awk '/regex/,0' but the string I need to search for inside the log file looks something like this: ... (4 Replies)
Discussion started by: SkySmart
4 Replies

4. Solaris

MB/P0/F0 urgent question

I have sunfire question and getting the following error message through prtdiag. MB/P0/F0 RS failed 0 rpm What it means? Please help me ASAP. (2 Replies)
Discussion started by: mokkan
2 Replies

5. Shell Programming and Scripting

URGENT grep question

I want to grep "abc" from "logyy". I want not only the instance of "abc" to return, but the line just above it as well (no matter what it is). :) Can some one please assit me to drive on this (2 Replies)
Discussion started by: NIMISH AGARWAL
2 Replies

6. Programming

what is the distinguish between gmake and make?

I am working on solaris 9. and use gmake to compile and linke c/c++ program. anybody can tell me the distinguish between gmake and make? :confused: (10 Replies)
Discussion started by: robin.zhu
10 Replies

7. HP-UX

how to distinguish different files while ftp?

how to distinguish different files and choose a mode while ftp?means which modes ascii or binary for zip(.gz) ,.txt,.sh,.dat and executable as well as movie files. (1 Reply)
Discussion started by: megh
1 Replies

8. Solaris

Urgent - core dump in solaris 5.10

anybody know abt Segmentation Fault - core dumped in solaris 5.10..wats this error?? (4 Replies)
Discussion started by: sanjana
4 Replies

9. AIX

distinguish the extension of a file

Hello, In a script shell, I have a variable containing the name of a file and I would like to distinguish the name from the extention of the file. For example, the file 'myfile.txt' is in a variable called $VAR. How can I obtain 2 variables, one with 'myfile' and the other with 'txt' ? Thank you (2 Replies)
Discussion started by: tbeghain
2 Replies

10. AIX

URGENT:Program is not dropping core on customer AIX Machine

hi We have a program which is running on cutomer end,and when its crashing its not dropping core, we asked them to check ulimit,they say that its unlimited. Even when they crash the program manually by using command kill -ABRT <pid> its not dropping the core,on our end when we use same... (1 Reply)
Discussion started by: khan_069
1 Replies
Login or Register to Ask a Question