JDK-6349305 : REGRESSION: jstat, jconsole broken in b59 on older linuxen by 6316197
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-11-11
  • Updated: 2010-04-08
  • Resolved: 2005-11-22
Related Reports
Duplicate :  
Description
Dynamic attach is broken too.  See the description in that bug:

   6348630:  initial thread != primordial thread confuses attach tests

If you do
   java Xxx &

and it reports the PID as 89, on solaris, and before the fix for
6316197, you can then do jstat or jconsole on 89.
Now, that fails on linux with the older thread lib.

Comments
WORK AROUND A workaround is to do jps and get the pid of the java process of interest from its output and give that pid to jstat/jconsole.
11-11-2005