|
From: Ryan K. <rko...@pi...> - 2015-04-28 17:54:07
|
I see that there's an old post asking how to use jps / jstat with the wrapper, but I'm not sure how it was resolved (the link is stale). Does anyone remember? jps never finds the wrapped JVM and jstat <pid> always returns <pid> not found. I can get jstack to work with the wrapper using SysInternal's psexec -s. psexec -s puts the user in the LocalSystem context, but this does not help with jps / jstat. There's some indication in various forums that these utilities are sensitive to the availability of the hsperfdata directory. For the wrapper, I found this directory in C:\Windows\Temp\hsperfdata_<machine>$. I tried setting the -J-Djava.io.tmpdir="C:\Windows\Temp" to the jstat and jps command line, but this did not help. Any advice would be welcome. |