B
Bill Laird
Hi. I'm sure I'm not the only one who ever wanted to do this, but here
is my scenerio:
On Windoze, I have a detached java process that is deadlocked. I want
to do a SIGBREAK to get the VM to do a thread dump. STDERR and STDOUT
for this process were redirected to other streams at startup, so not
having a tty for the VM to dump to isn't a problem.
In lieu of doing ctl-c from the shell that the java process is running
(remember, it's detached) - is there a way to signal the process with
SIGBREAK via Win32 or some other mechanism? I'm specifically looking
for something that is already written. I've tried the GNU kill from
cygwin, and that doesn't seem to have SIGBREAK as one of the signals.
Thanks,
Bill
is my scenerio:
On Windoze, I have a detached java process that is deadlocked. I want
to do a SIGBREAK to get the VM to do a thread dump. STDERR and STDOUT
for this process were redirected to other streams at startup, so not
having a tty for the VM to dump to isn't a problem.
In lieu of doing ctl-c from the shell that the java process is running
(remember, it's detached) - is there a way to signal the process with
SIGBREAK via Win32 or some other mechanism? I'm specifically looking
for something that is already written. I've tried the GNU kill from
cygwin, and that doesn't seem to have SIGBREAK as one of the signals.
Thanks,
Bill