Obtain useful data from WebSphere JVM -


I would like to attach a webserver JVM and would like to get useful data such as the names of the trash collectors and counting their collections, counting of threads, Hep / non-hap memory usage, JVM uptime etc. However, this link gives the list of available MBSs with WebSpace JVM.

These MBNs do not offer any offer data, what I want is any other way of obtaining data ? I am using JMX to collect it.

If you are a corporate with money to spend I suggest a product like Wily Introscope Which runs an agent with your JVM, which collects all your subsequent metrics. I have used it with the websphere server I am searching for an open source option which can provide low cost options for you.

I do not know of any default MBAs that will provide coverage by you. This is usually the big Java vendor that provides such functionality.

[Update]

With the use of Websphere 7 in some recent ways, for real-time monitoring / troubleshooting purposes, I thought I will share my knowledge, VisualVM comes with standard Sun JDK and you will install it here: JAVA_HOME \ bin \ jvisualvm.exe

In order to enable JRE, To allow you to connect, you must add the following JVA using the Websphere Admin Console Parameter

Go to: Application Server & gt; [Server_name] & gt; Java and process management & gt; Definition of process & gt; Java Virtual Machine & gt; General JVM logic

  - Dizax Management .builder.initial = -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate = false -Dcom.sun.management.jmxremote .sl = false -Dcom.sun.management.jmxremote.port = 1099 -Dcom.sun.management.jmxremote.local.only = false   

Make sure the port number you choose is not already used above

  Netstat -ap | Grep 1099   

Restart the server and you will be able to use visual visibility to see UTtime, Threads, Heap and GC profiles.

I see that the sun also documents how you can read these values.

Comments