You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Corban <mc...@tcservices.biz> on 2009/05/05 05:29:34 UTC
Memory Question
Where does Tomcat store the memory usage that it displays in the Server
Status under the Manager console? I was thinking about writing a shell
script to keep track of the memory usage over time (such as the free memory,
total memory and max memory) and store it in a file.
Thanks,
Matt
Re: Memory Question
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matt,
On 5/4/2009 11:29 PM, Matt Corban wrote:
> Where does Tomcat store the memory usage that it displays in the Server
> Status under the Manager console? I was thinking about writing a shell
> script to keep track of the memory usage over time (such as the free memory,
> total memory and max memory) and store it in a file.
I just posted full code to do this the other day:
http://www.nabble.com/GC-Problem-td23296336.html#a23336209
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkoAdZEACgkQ9CaO5/Lv0PAGowCfdM41Q0A4wNxbrtdmotQS4VO2
c+EAoLCEN47WB445QiEe6yWiduWlo4Fg
=fK3u
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Memory Question
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Matt Corban [mailto:mcorban@tcservices.biz]
> Subject: Memory Question
>
> Where does Tomcat store the memory usage that it displays in the Server
> Status under the Manager console?
Tomcat doesn't store that info - it's kept by the JVM; look at the java.lang.Runtime API spec. More detailed heap information is also available via JVMTI and JMX.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Memory Question
Posted by Alex Mestiashvili <al...@biotec.tu-dresden.de>.
Matt Corban wrote:
> Where does Tomcat store the memory usage that it displays in the Server
> Status under the Manager console? I was thinking about writing a shell
> script to keep track of the memory usage over time (such as the free memory,
> total memory and max memory) and store it in a file.
>
> Thanks,
> Matt
>
>
Hi ,
there is munin plugin which does exactly that .
munin also saves data in rrd database and draws nice graphics .
here is the script , it just parses status page .
http://munin.projects.linpro.no/browser/branches/debian/lenny/trunk/debian/patches/110-node.d-tomcat_jvm.patch
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org