Messages in this thread | | | Date | Tue, 11 Jan 2000 09:41:01 -0700 (MST) | From | The Lost Wizard <> | Subject | Re: core dump |
| |
On Tue, 11 Jan 2000, Mike A. Harris wrote:
> On Sun, 3 Jan 1999, Christophe leroy wrote: > >Is there a way to make a core dump of a program without killing it, > >in order to make some debugging while the program is still running ? > > kill -SEGV <pid> > > or > > kill -11 <pid> > > or > > killall -SEGV <process name> > > I believe that will do it, so long as coredumps are not disabled.
No, that won't do it. It will terminate the process. My understanding of the question is that he wanted to get a core dump and leave the process running.
I have a couple of situations where that would be handy as well.
William Astle "Floppity, floppity, flip / The mouse on the mobius strip; / The strip revolved, / The mouse dissolved / In a chronodimensional skip."
-----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS/M/S d- s+:+ !a C++ UL++++$ P++ L+++ !E W++ !N w--- !O !M PS PE V-- Y+ PGP t+@ 5++ X !R tv+@ b+++@ !DI D? G e++ h+ y? ------END GEEK CODE BLOCK------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |