When you run your Java servlet engine then pass the verbose argument to the
java run program
eg
>java -verbose:class <<name of your servlet engine main class>>
The java virtual machine will print out all the classes it is loading to the
std out. So if you want you can pipe the output into a file
you might also want to use
-verbose:gc this gives info about the garbage collection
-verbose:jni this gives info about the loading of native methods.
see
http://www.javasoft.com/j2se/1.3/docs/tooldocs/solaris/java.html
-----Original Message-----
From: Gary Lyons [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 6:18 PM
To: [EMAIL PROTECTED]
Subject: top like tool for java
Hi all,
I am running JServ with Apache on a SPARK Ultra with Solaris. I noticed
recently that I may have some sort of non-terminiating loop bug in one
of my servlets. The evidence is that when I run the unix top facility
there is an instance of java that is eating up 90% of the cpu on a
consistent basis.
My problem is where is the bug. Is there a facility available to monitor
what classes are running at any given time, sort of like top is to unix
processes ??
Thanks
Gary Lyons
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html