Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Getting GC output in Tomcat

Reply
Thread Tools

Getting GC output in Tomcat

 
 
Juha Laiho
Guest
Posts: n/a
 
      12-17-2006
"Gugle" <(E-Mail Removed)> said:
>Hi all,
>I want to get Garbage collector ouput in Tomcat 5.x. Can someone
>explain how to get this going?
>I tried using "-verbose:gc" in CATALINA_OPTS. But it doesn't seem to
>work. Any ideas??


Depending on your JVM version, you can log the gc output to a separate file:
"-Xloggc:filename" among the JVM startup options is your friend.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
 
Reply With Quote
 
 
 
 
Gugle
Guest
Posts: n/a
 
      12-18-2006
Thanx Juha!


Juha Laiho wrote:
> "Gugle" <(E-Mail Removed)> said:
> >Hi all,
> >I want to get Garbage collector ouput in Tomcat 5.x. Can someone
> >explain how to get this going?
> >I tried using "-verbose:gc" in CATALINA_OPTS. But it doesn't seem to
> >work. Any ideas??

>
> Depending on your JVM version, you can log the gc output to a separate file:
> "-Xloggc:filename" among the JVM startup options is your friend.
> --
> Wolf a.k.a. Juha Laiho Espoo, Finland
> (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
> PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
> "...cancel my subscription to the resurrection!" (Jim Morrison)


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting test method names when getting output Hunt Jon Ruby 2 12-18-2008 03:00 PM
Tomcat 4.1.31 - huge count of webapps, Tomcat hangs up Martin Eberle Java 2 12-03-2004 07:10 PM
Tomcat Web application manager - Virtual host Tomcat 4.30 + Apache2 + JK2 connector with multi IPs Joe Java 0 07-12-2004 03:06 PM
Apache Tomcat 4.1.24: problem with Tomcat Administration link Christos Gravvanis Java 0 07-07-2004 05:21 PM
[TOMCAT] Tomcat crashes %=zerointeractive.it% Java 1 01-22-2004 12:08 PM



Advertisments