Thread dump on linux
To take thread dump on linux machine , use kill -3 <PID>. It will send thread dump to stdout for the process. It won't kill the process and if the process is running as service , typically there is a directory created under /var/log. The stdout of service goes there.