File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 9188

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.

[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 ( . 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 ( 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:
subject: Monitor application in Linux using Jconsole
jQuery in Action, 3rd edition