Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "HowTo" page has been changed by SebastianBazley:
https://wiki.apache.org/tomcat/HowTo?action=diff&rev1=140&rev2=141

  Getting a thread dump depends a lot on your environment. Please choose the 
section below that matches your environment best. The more universal and 
convenient options are presented first, while the more difficult ones or those 
for specific setups are provided later. Generally, you should start at the top 
of the list and work your way down until you find a technique that works for 
you.
  
  === If you are running Oracle (Sun) JDK ===
- Oracle JDK (not the JRE) (formerly Sun JDK) since version 1.6 (and since 1.4 
on *nix systems) ships with a program called ''jstack'' (or ''jstack.exe'' on 
Microsoft Windows) which will give you a thread dump on standard output. Pipe 
the output into a file and you have your thread dump. You will need the process 
id ("pid") of the process to dump. Use of the program ''jps'' (''jps.exe'' on 
Microsoft Windows) can help you determine the pid of a specific Java process.
+ Oracle JDK (not the JRE) (formerly Sun JDK) since version 1.6 (and since 1.4 
on *nix systems) ships with a program called ''jstack'' (or ''jstack.exe'' on 
Microsoft Windows) which will give you a thread dump on standard output. 
Redirect the output into a file and you have your thread dump. You will need 
the process id ("pid") of the process to dump. Use of the program ''jps'' 
(''jps.exe'' on Microsoft Windows) can help you determine the pid of a specific 
Java process.
  
  See [[http://docs.oracle.com/javase/8/docs/technotes/tools/|Tools page]] in 
JDK documentation for usage reference.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to