centos print java stack information

Enter the command: jps -lvm : used to view the java process running on the current machine

Enter the command: jstack -l pid : jstack -l 6812 to view our application stack information

Enter the command: jstack -l 5618 > no.dump to print the stack information to the current directory

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324930255&siteId=291194637