Could not synchronize with target

问题:

我使用jstat -gcutil 22893 来查看进程的gc情况时,报错:

Could not synchronize with target

Could not synchronize with target_java

 

解决办法:

解决了,但是没完全解决。我换了一个java进程查看就好了。

Could not synchronize with target_java_02