Getting RunTime Information!!!

hi !!

I have a Web_Application Loaded on Web Server...

Now I want to Monitor it...

i.e.

FindingRunTime Information for that application like :

Memory Utilisation,

Live Thread Info.

and Other.

How could I achieve this Through JMX?

Thanks... in Advance.

Note :

I dont have source-code of the application...its just deployed on Server.

[438 byte] By [Rishikesh_Bhawsara] at [2007-11-14]
# 1

If your application is running on Java SE 5.0, you can jconsole to monitor your application.You have to start up your application in order to be connected with jconsole.

Details can be found at:

"Using JConsole to Monitor Applications" at

http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html

"Java SE Monitoring and Management Guide" at

http://java.sun.com/javase/6/docs/technotes/guides/management/toc.html

Mandy

mandy_kochunga at 2007-7-10 > top of java,Core,Monitoring & Management...
# 2
Sorry !!! for incomplete information... Actually , I want to build Monitoring Tool for that Web_Application. And it could be Remotely Monitoring also...
Rishikesh_Bhawsara at 2007-7-10 > top of java,Core,Monitoring & Management...
# 3

Hi,

You should definitely read the pointers provided by Mandy.

All the information displayed by JConsole comes from the MBeans defined

in the java.lang.management package.

You can access these MBean remotely and programatically from the JMX API.

You will find links to article and tutorials on JMX in this article:

http://blogs.sun.com/jmxetc/entry/what_is_jmx

Mandy's blog is also an excellent source of information.

http://weblogs.java.net/blog/mandychung/

Hope this helps,

-- daniel

JMX, SNMP, Java, etc...

http://blogs.sun.com/jmxetc

dfuchsa at 2007-7-10 > top of java,Core,Monitoring & Management...
# 4
Hi,See here for an example:How To Retrieve Remote JVM Monitoring And Management Information: http://blogs.sun.com/jmxetc/entry/how_to_retrieve_remote_jvmcheers,-- danielJMX, SNMP, Java, etc... http://blogs.sun.com/jmxetc
dfuchsa at 2007-7-10 > top of java,Core,Monitoring & Management...