jmap Unable to open socket file

ERROR

/home/es/software/jdk1.8.0_131/bin/jmap -histo:live 72536|more 
72536: 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

说明:
无法打开套接字文件:目标进程未响应或未加载HotSpot VM
当目标进程没有响应时,可以使用-F选项

解决方法:
切换到程序执行的用户下

su - es

你可能感兴趣的:(jmap Unable to open socket file)