LINUX programming

Moderators: ITA
Number of threads: 1347
Number of posts: 2935

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
generating core dump Posted by mye on 30 Jul 2003 at 7:17 AM
Hi, I'm a newbie to linux. I'm writing some modules to linux and want to know whats the best way to generate core dumps. Any opinions will be apreciated. Thanks.
Report
Re: generating core dump Posted by kor on 30 Jul 2003 at 8:25 AM
: Hi, I'm a newbie to linux. I'm writing some modules to linux and want to know whats the best way to generate core dumps. Any opinions will be apreciated. Thanks.
:
Check the core dump message a little lower, we covered a few methods there.
Report
Re: generating core dump Posted by mye on 30 Jul 2003 at 8:34 AM
: : Hi, I'm a newbie to linux. I'm writing some modules to linux and want to know whats the best way to generate core dumps. Any opinions will be apreciated. Thanks.
: :
: Check the core dump message a little lower, we covered a few methods there.
:

I did read them. I actually need something a little different. I want to be able to panic the whole system and get a core(s) for the whole linux kernel. I'm reading through LKCD right now see if that'll do it.
Report
Re: generating core dump Posted by kor on 31 Jul 2003 at 3:48 PM
: : : Hi, I'm a newbie to linux. I'm writing some modules to linux and want to know whats the best way to generate core dumps. Any opinions will be apreciated. Thanks.
: : :
: : Check the core dump message a little lower, we covered a few methods there.
: :
:
: I did read them. I actually need something a little different. I want to be able to panic the whole system and get a core(s) for the whole linux kernel. I'm reading through LKCD right now see if that'll do it.
:
So... you want a way to forcibly take down a *nix box with a program, and coredump it? not as a user, for sure... maybe kill -3 0?
I think pid 0 is kernel...



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.