I hear that sendsignal.exe is used to write logs of java applications to a file. Would you please give more information about what it does and how it does it? In plain english please, I'm not an expert programmer.

And what is "CTRL+break"? I don't see a "break" button on my keyboard.

2

1 Answer

Singals are a Unix concept, they are some kind of limited interprocess communication.

To create a thread dump you send the signal SIGQUIT to a process, the signal is trapped and the thread dump will be written. You could also send other signals e.g. to terminate a process.

To send a signal on unix you would use the kill command:

kill -3 <pid> 

the java way would be:

jstack <pid> 

your sendsignal.exe will probably do the same.

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.