1. Printing stack information using jstack command
jstack -l pid >> thread.txt
Parameter: – l long lists to print out additional lock information. Jstack – L PID can be used to observe the lock holding status when a deadlock occurs
Examples
jstack -l 7052 >> thread.txt
2. Analyze stack information
take thread.txt Download it locally and use IBM thread and monitor dump analyzer for Java to open the analysis
Read More:
- Jstack command execution error: unable to open socket file: target process not responding or hotspot VM not loaded
- Read in wannier90 output file hr.dat to construct real space Hamiltonian to calculate Fermi surface
- Windows can’t delete the file, indicating that it is in use. (release of document occupation)
- Differences between Java stack overflow ror and outofmemoryerror
- Vue3 uses webpack bundle analyzer to analyze package files
- How to use it RegAsm.exe Register C in a development / production environment#/ VB.NET Developed DLL
- How to solve oserror: [errno 98] address already in use and kill the python3 process
- Boost:: filesystem:: remove: another program is using this file and the process cannot access it.
- An idea to solve Warning move_uploaded_file, failed to open stream in the process of php uploading files
- could not be opened to write the process output: fopen(/tmp\sf_proc_00.out.lock)
- How to use scanner to accept char type characters in Java
- When Dbeaver starts on Mac, it reports an error: “fail to create java virtual machine”
- Solve the error in Ubuntu 18.04: called “net usershare info” but it failed: failed to execute child process “net”
- mysql error 1033 Incorrect information in file: ‘xxx.frm’ (Fixed)
- Java learning error information 3 — Java notes
- FTP use get command 550 failed to open file, but use the put command to solve the problem
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- Busybox encountered input/output error while mounting NFS to TMP file system
- Java – read all the files and folders in a certain directory and three methods to get the file name from the file path