473,473 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C Core file in Unix

51 New Member
Hi Experts,

Can you please help me regarding the following..

Suppose I have a cron job which executes 5 C programs of which 3 programs dumps the core, how do I find which program dumped the core?

Thanks in advance,
Chella
Aug 9 '07 #1
3 1481
JosAH
11,448 Recognized Expert MVP
Hi Experts,

Can you please help me regarding the following..

Suppose I have a cron job which executes 5 C programs of which 3 programs dumps the core, how do I find which program dumped the core?

Thanks in advance,
Chella
I bet the exit status of the program(s) that dumped core on you won't be zero.
A little bash (csh?) script around those C programs would tell you the answer.

kind regards,

Jos
Aug 9 '07 #2
sicarie
4,677 Recognized Expert Moderator Specialist
Hi Experts,

Can you please help me regarding the following..

Suppose I have a cron job which executes 5 C programs of which 3 programs dumps the core, how do I find which program dumped the core?

Thanks in advance,
Chella
It seems to me like you are trying to tie together 3 core dumps with 3 programs, am I correct?

Why not run one of them, see what the core dump naming scheme is, then see how that compares to the three you already have - if they're based on timestamp, program name, or what...
Aug 9 '07 #3
chella
51 New Member
Thank You Experts

Regards
Chella
Aug 10 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Logan | last post by:
Several people asked me for the following HOWTO, so I decided to post it here (though it is still very 'alpha' and might contain many (?) mistakes; didn't test what I wrote, but wrote it - more or...
1
by: Martin | last post by:
I got a core from my client but i am not able to find out where it crashed. I got the following: From my experience, when i got lots of warning which complains about the path mismatch.. I can...
1
by: Nish | last post by:
I have the coredump of my process that crashed. Is there any unix utility/program or option in gdb that can be used just to find out as to the process core-dumped because of which signal? I do...
1
by: Martin | last post by:
I use dbx and i got the following error: Reading GL_CliConnMgr core file header read successfully Reading ld.so.1 dbx: core file read error: address 0xff3e6000 not available dbx: core file...
1
by: Martin | last post by:
Hi, I am developing a "huge" and portable software which works fine on windows in Release/Debug Mode and on Unix in Debug Mode but crashes when it "new" an object(GL_V5_CCM_RQRealTime_Rpy* msgBody...
10
by: ken | last post by:
hello, i'm writing a c program on a linux system. i'm debugging a segmentation fault but i don't want it to dump a core file because the memory footprint of the program is over 300Mb and i don't...
6
by: milkyway | last post by:
Hello, I am using Linux (2.6.4) with Suse. I have a core file. I know gdb exists for it but are there any other tools out there that one can use for debugging purposes? Something that can run...
2
by: Johannes Bauer | last post by:
Hi, I don't think it's quite on-topic here, but neither in in comp.os.linux.development.system - so here it goes anyways. I'm debugging code which is in use on many remote systems. The code is...
5
by: johnericaturnbull | last post by:
Hi - I am very new to python. I get this random core dump and am looking for a good way to catch the error. I know the function my core dump occurs. Is there any error catching/handling that I...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.