jstack报错解决

环境:jdk1.8,centos7

1.报错:22691: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding

[root@hy-jar-1 monitor_jar]# /usr/local/java/jdk1.8.0_211/bin/jstack 22691
22691: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding

解决:加上-F参数

[root@hy-jar-1 monitor_jar]# /usr/local/java/jdk1.8.0_211/bin/jstack -F 22691 

 

posted @ 2020-06-06 15:23  yang-leo  阅读(2594)  评论(0)    收藏  举报