Getting a stack dump/stderr of a running Java process

From: Bousquet Francois (Francois.Bousquet@cgi.com)
Date: Fri Jul 15 2005 - 13:36:20 EDT


I have a running Java application that is having a thread consuming 100% of
one CPU. I can't stop the process because it is a live application that is
still working well.

Generally if the application is configured properly, I can send a kill -QUIT
pid to make the jvm dump the java stack on stderr.

But the process hasn't been configured to send stderr to a file, so I am
trying to figure out if there is a way to change the stderr of a running
process without restarting it ?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:08 EDT