Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Linux kill command to Java apps

807603Feb 9 2008 — edited Feb 9 2008
I'd like to know if there is a way to send certain user defined kill signals from Linux to a java app and have the java app respond with a certain printout given a specific signal.
So if I code a static string for example and I'd like java to print it out given a certain kill signal. I know this would be easy if I just use a socket and have my java process listening to that socket for messages and then write a separate app sending "requests" to that socket.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 8 2008
Added on Feb 9 2008
1 comment
204 views