Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


By default thread dump goes to System.out log.How can we send it to a particular file so that when we take the thread dump, instead of searching in System.out we can analyse a particular file

Answers were Sorted based on User's Feedback



By default thread dump goes to System.out log.How can we send it to a particular file so that when w..

Answer / amarnath

Here is the jvm tools for taking the thread dump and heap dump.

You just go to jdk home path
Ex:
C:\Program Files\Java\jdk1.6.0_20\bin
and then issue the below command for thread dump it will
redirect you the output of the command to TD.log file under
/tmp dir

C:\Program Files\Java\jdk1.6.0_20\bin jstack -l <PID>
>/tmp/TD.log


For Heap Dump
C:\Program Files\Java\jdk1.6.0_20\bin jmap -heap <PID>
>/tmp/heap.log

Regards,
Amarnath Polu.
Weblogic Admin!!!

Is This Answer Correct ?    4 Yes 0 No

By default thread dump goes to System.out log.How can we send it to a particular file so that when w..

Answer / guest

Kill -3 <PID> Filename.txt
If you specify a particular file name after the above cmd u
will get the thread dump in that file.

Is This Answer Correct ?    10 Yes 10 No

Post New Answer

More Weblogic Interview Questions

When should I use multicast subscribers? : BEA Weblogic

0 Answers  


What is meant by gc, prallel gc, full gc and explain it?

0 Answers  


how can we handle if server is hang? and how to handle out of memory in weblogic?

1 Answers   HCL, L&T,


Which of the algorithms is used by the weblogic server as the default load balancing strategy for clustered object stubs when no algorithm is specified ? : BEA Weblogic

0 Answers  


what is digital certificate?

3 Answers   HCL, IBM,


What is the meaning of classformaterrors used with the applet?

0 Answers  


What you can do with node manager?

0 Answers  


I tried to run two of the applets in the examples directory of the distribution? : BEA Weblogic

0 Answers  


what will happen if a managed server will go down at the time of performing the request

2 Answers  


What is os tuning?

0 Answers  


What is meant by prallel gc and explain it?

0 Answers  


I have a process running on one of my unix terminals, but I cannot close the terminal window as the process will terminate. How can I transfer this process to a background process?

0 Answers  


Categories