The moose likes Performance and the fly likes Monitor application in Linux using Jconsole Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Monitor application in Linux using Jconsole" Watch "Monitor application in Linux using Jconsole" New topic

Monitor application in Linux using Jconsole

GauravComviva Goyal

Joined: Jan 09, 2011
Posts: 1
Hi All,

I am running my web application on tomcat on linux environment. I want to monitor and tune my application using Jconsole.
The URL for my application is

Please suggest how to use Jconsole.

Thanks & Regards
Joe Ess

Joined: Oct 29, 2001
Posts: 8876

Using JConsole to Monitor Applications
Note that you don't use the HTTP URL for the application. You have to enable JMX and specify a port number in the server JVM to enable remote monitoring.

"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Kees Jan Koster
JavaMonitor Support

Joined: Mar 31, 2009
Posts: 251
Dear Gaurav,

You can also hook up your application to Java-monitor (http://java-monitor.com/install.html) . That will show you memory use, database connection pools and other resources.

Kees Jan

Java-monitor, JVM monitoring made easy <- right here on Java Ranch
Shashank Ag
Ranch Hand

Joined: Dec 22, 2009
Posts: 88

I don't know about about Jconsole, but Infrared (http://infrared.sourceforge.net/versions/latest/) is also one easy freeware performance monitoring tool.
You will be amazed by statistics it produces.

SCJP 91%, SCWCD 97%
I agree. Here's the link: http://aspose.com/file-tools
subject: Monitor application in Linux using Jconsole