Where Is Thread Dump in Linux?
Contents

Where is thread dump stored?

If you are running your application in tomcat, thread dump will be sent into <TOMCAT_HOME>/logs/catalina. out file. Note: To my knowledge this option is supported in most flavours of *nix operating systems (Unix, Linux, HP-UX operating systems). Not sure about other Operating systems.

How do you take a thread dump in Linux?

Performing a Thread Dump in UNIX (HP-UX or Sun Solaris)

  1. Access the computer on which Sterling B2B Integrator is installed.
  2. Change your working directory to install_dir.
  3. In the command line, enter cat noapp. pid . …
  4. Enter ps -ef | grep noapp. pid . …
  5. Enter kill -QUIT noapp. pid child. …
  6. The thread dump is placed in the noapp.
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest