what if I didnt want to run it against a specific class, I want to run it to get the status of the VM while my EJBs are running on Weblogic? I noticed that the output file gets generated even if I put any class name, would this be a valid output of the status of the vm? I couldnt see any of my application classes in the output though!
-----Original Message----- From: Nagaraju K [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 10:12 AM To: [EMAIL PROTECTED] Subject: Re: Thread dumps You can use profiling java -Xrunhprof[:help][:<suboption>=<value>,...] MyMainClass u can specify various options for this java -classic -Xrunhprof:heap=sites,cpu=samples,depth=10,monitor=y,thread=y,doe=y check this site for more details http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-hprof.html The secret of getting ahead is getting started. The secret of getting start is breaking your complex overwhelming tasks into small manageable tasks, and then starting on the first one. --Mark Twain -----Original Message----- From: Shahata, Ash [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 19, 2002 2:15 PM To: [EMAIL PROTECTED] Subject: Thread dumps Hi all, does anyone know how to generate a thead dump from my virtual machine? I read before that I could do it from the virtual machine, however I'm not quite sure where to get the virtual machine window or process open from? I want to monitor the threads to check for deadlocks. Thanks Ash =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com