tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Jconsole or JMXPROXY monitoring memory usage of the system
Date Wed, 11 Jun 2008 13:58:06 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Liang,

Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, and through that I want to know not only the memory
| usage of JVM also the memory usage of the system.

I don't believe the JVM has access to this information directly. You'd
have to write your own native code to interrogate the operating system
for this information. I wouldn't be surprised if something like this
already exists somewhere.

Note that this would not be a Tomcat-specific library -- it would be
applicable in any Java program, not just a web application.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhP2e4ACgkQ9CaO5/Lv0PBQDACdH9FlRCwENZixWUsy+uT6AvKl
f3gAn3s99h/jWf4TUzIeqswdBviWWecp
=+6fS
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message