Win32: Signal a SIGBREAK to a detached java process

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top