I request you to provide me some useful guide lines to collect Thread Dump using script in linux and redirect the output to a separate log file, not the STDOUT file. If it is redirecting to STDOUT then how to extract only the thread stack to a separate log file.
ps -ef | grep java
kill -3 <pid> >> ss1_td.log
but it is not providing the thread stack to the log file.
Really a great and useful script for me at the right time. It solved my requirement and i made some changes to my requirement and the script it working fine to collect the thread dump and even i have checked the thread dump with SAMURAI works fine.
Helpful site also refer sites like these which contains more valuable things for weblogic. We will meet in the forums again.
Note: also please update several links available in the site like UNIX scripts, WLST, Python etc.