SUMMARY: Is there a way to kill a thread at unix command level?

From: Fletcher, Joe <>
Date: Thu Feb 28 2002 - 10:18:20 EST

'Tis as I feared. Basically can't touch a specific java thread without
risking pain.  
In the end we restarted the whole app. A coding exercise will be underway
shortly to iron out the problem.

Thanks to Capser Dik for his assistance.



I have a system running a java application. The java app is a multithreaded
process. I want to kill or maybe renice one of those threads which is
chewing CPU without restarting the whole application. Can anyone tell me a
way to do it from a command line without having to write a java routine to
do it please? I can identify the LWPID via prstat -Lu so I'm looking for an
equivalent to "kill LWPID".

The Lightwell 
12/16 Laystall Street 
London EC1R 4PF 
Tel: +44 (0) 20 7843 6720 
Fax: +44 (0) 20 7843 6721
This email is confidential and proprietary; 
all information contained in it must be used only by the addressee in
accordance with MetaPack's terms of business and non-disclosure agreement. 
Disclosure, copying, and distribution to, or use by, anyone other than the
intended recipient is strictly prohibited and may be unlawful.
sunmanagers mailing list
Received on Thu Feb 28 09:22:28 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:35 EST