pw threaddump


A thread dump is an invaluable source of information when investigating deadlocks, slowdown or hang situations, and performance issues. Thread dump for a particular Java process shows the state of all threads at that point in time.

Note

This command is supported only for a BMC TrueSight Infrastructure Management Server installed on a Microsoft Windows computer.

If you use Remote Desktop Connection to run this command, ensure that it is in console mode only; otherwise, the command will not run properly.

Thread dump works for the following Infrastructure Management processes and can be generated on the BMC TrueSight Infrastructure Management Server computer. The result is displayed in the corresponding output file locations:

Output files for Infrastructure Management process

Sl. No.

Infrastructure Management process

Output file

1

jserver

installationDirectory\pw\pronto\logs\jserverTD.out

2

pronet_cntl

installationDirectory\pw\pronto\logs\pronet_cntlTD.out

3

rate

installationDirectory\pw\pronto\logs\javarateTD.out

4

pronet_agent

installationDirectory\pw\pronto\logs\pronet_agentTD.out

5

tunnelproxy

TunnelProxyTD.out

BMC TrueSight Infrastructure Management Server - Windows runs as Windows Services. To obtain the thread dump for a specific Java process on BMC TrueSight Infrastructure Management Server - Windows, run the following command with the process ID of the Java process or the process name:

C:\>pw threaddump <pid/pname>

Thread dump for a Infrastructure Management process on BMC TrueSight Infrastructure Management Server - Windows can also be generated by using the syntax :

C:\>kill -QUIT <pid/pname>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*