Collect threaddumps in weblogic server

i am trying to collect threaddumps in linux environment in my weblogic server using the following commands:

#jrcmd pid print_threads > outputfile.txt
kill -3 pid > outputfile.txt
jstack pid > outputfile.txt

But i am just getting an empty file. nothign is in the file genrated. Can any one please suggest how to get thread dumps in my weblogic server?

If we use kill -3 pid.. where will the threaddumps saved?

Thanks in advance.

1 answer

  • answered 2018-04-17 04:23 SAUJ

    kill -3 <pid> is the standard way. For your last question, if you are running your application in tomcat, thread dump will be sent in to /logs/catalina.out file.