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 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM