How do you take a thread dump in Linux?

How do you take a thread dump in Linux?
Answer
To generate a thread dump using jstack:
  1. Identify the process. Launch the task manager by, pressing Ctrl + Shift + Esc and find the Process ID of the Java (Confluence) process. …
  2. Run jstack <pid> to Capture a Single Thread Dump. This command will take one thread dump of the process id <pid>, in this case the pid is 22668:
15 окт. 2018 г.
 

Tìm kiếm

Back
Top