Re: Jconsole or JMXPROXY monitoring memory usage of the system
Christopher Schultz wrote: -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. To offer a solution idea that would on the other hand be very specific and non-portable, but maybe usable if this is for one server and you do not find anything more elegant : It must be possible in a servlet to execute a system-level command, grab its output and filter it to get what you want to know. I could tell you how to do this under Apache and perl, but unfortunately I don't know under Tomcat and Java. But I am sure that someone on this list can give us a tip. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jconsole or JMXPROXY monitoring memory usage of the system
Thanks for your answer!!! Christopher Schultz escribió: -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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jconsole or JMXPROXY monitoring memory usage of the system
Can anyone help me? Liang Xiao Zhu escribió: Hi, 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. Thanks in advance - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jconsole or JMXPROXY monitoring memory usage of the system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: | Is there some kind of general source of information, or registry or | repository, where one could find [...] a list of already-developed add-on modules for Tomcat? Not really. Most of the Tomcat-specific stuff actually comes with Tomcat. Outside of that, there are tons of tools out there that are built for generic (servlet-spec-conforming) web applications. A good example is url-rewrite (http://tuckey.org/urlrewrite/) which is often mentioned on this list. It is by no means Tomcat-specific, so it doesn't really belong on a "Tomcat Add-Ons" page. Rather, it belongs on a "useful web application libraries" page. I can think of about 100 libraries myself that could go on that list, and there are surely thousands more. Google is a better list keeper than anyone here would be. | I can consult the list of add-ons at httpd.apache.org Yes, but these are modules supplied by Apache directly. Anything that is Tomcat-related actually comes with Tomcat (except for mod_jk, which is easily findable on the website as well). | when I want to know the same for perl modules, I go to www.cpan.org. | What about Tomcat ? Tomcat just doesn't have that kind of community infrastructure. Are you volunteering? ;) - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkhP25QACgkQ9CaO5/Lv0PDezQCfRe2Rol+oNSHExFlU0b7ytrsd rMMAn0OdH3uMzPmCbiXAyJrbUQzuyhqP =G2KB -END PGP SIGNATURE- - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jconsole or JMXPROXY monitoring memory usage of the system
-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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jconsole or JMXPROXY monitoring memory usage of the system
Hi. May I take the opportunity and ride on the question below, to ask : Is there some kind of general source of information, or registry or repository, where one could find the answer to the question below, but also get a list of already-developed add-on modules for Tomcat ? I mean, when I need to find out if there already exists an add-on to Apache for authentication via a post-gothic chocolate cookie server, I can consult the list of add-ons at httpd.apache.org; and when I want to know the same for perl modules, I go to www.cpan.org. What about Tomcat ? Thanks in advance, André Liang Xiao Zhu wrote: Hi, 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. Thanks in advance - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]