在root下导出dumpfile 报错
26543: well-known file is not secure
切换到普通用户
sudo -u userA /java/jdk1.8.0_121/bin/jmap -dump
:live,file=/gcerr/26543jmap0821.hprof 26543
Dumping heap to /gcerr/26543jmap0821.hprof ...
Heap dump file created
在root下导出dumpfile 报错
26543: well-known file is not secure
切换到普通用户
sudo -u userA /java/jdk1.8.0_121/bin/jmap -dump
:live,file=/gcerr/26543jmap0821.hprof 26543
Dumping heap to /gcerr/26543jmap0821.hprof ...
Heap dump file created