my dog learned polymorphism*
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
Author

Monitor application in Linux using Jconsole

GauravComviva Goyal
Greenhorn

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 http://172.16.1.234:8080/nextGenCMS

Please suggest how to use Jconsole.

Thanks & Regards
Gaurav
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

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
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
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