Re: Monitoring memory usage of JVM

2011-05-30 Thread Igor Cicimov
Hi all, I don't know if this is useful but apart from utilities/commands already mentioned, I use the following to monitor the GC of the particular generations in JVM: /usr/jdk/jdk1.5.0_12/bin/jstat -gc $TOMCAT_PID 5000 10 Of course you need to substitute the appropriate JDK installed on your sy

Re: Monitoring memory usage of JVM

2011-05-27 Thread Mikolaj Rydzewski
On Fri, 27 May 2011 09:50:06 +0200, André Warnier wrote: Searching the WWW, I am finding (too) many interpretations of the output of "-verbose:gc" (or "-verbosegc", none of them starting from exactly the format above. I can kind of guess what the above means, but where can I find an "authoritati

Re: Monitoring memory usage of JVM

2011-05-27 Thread André Warnier
Pid wrote: On 26/05/2011 21:50, André Warnier wrote: André Warnier wrote: Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 21:50, André Warnier wrote: > André Warnier wrote: >> Pid wrote: >>> On 26/05/2011 20:16, Caldarale, Charles R wrote: >>>>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring >>>>> memory usage of JVM >>>>>

Re: Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
André Warnier wrote: Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump for example some information each time a GC happens

Re: Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
Pid wrote: On 26/05/2011 20:16, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring memory usage of JVM I am thinking of a couple of command-line options for the JVM, to dump for example some information each time a GC happens, Try -verbose:gc and

Re: Monitoring memory usage of JVM

2011-05-26 Thread Pid
On 26/05/2011 20:16, Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Monitoring memory usage of JVM > >> I am thinking of a couple of command-line options for the JVM, >> to dump for example some information each time a GC happen

RE: Monitoring memory usage of JVM

2011-05-26 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Monitoring memory usage of JVM > I am thinking of a couple of command-line options for the JVM, > to dump for example some information each time a GC happens, Try -verbose:gc and -Xloggc: - Chuck THIS COMMUNICATION

Monitoring memory usage of JVM

2011-05-26 Thread André Warnier
Hi. Tomorrow morning (European time), we are planning a moment of peak usage of one Java daemon application. It is not Tomcat, but it behaves in a manner similar to Tomcat, in the sense that it listens on a TCP port, processes quasi-HTTP requests, creates threads as needed to process these req