aspose file tools*
The moose likes Performance and the fly likes Monitoring Tools to Monitor JVM and Oracle Connections and Network. 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 "Monitoring Tools to Monitor JVM and Oracle Connections and Network." Watch "Monitoring Tools to Monitor JVM and Oracle Connections and Network." New topic
Author

Monitoring Tools to Monitor JVM and Oracle Connections and Network.

Mp Ramkumar
Greenhorn

Joined: Apr 28, 2009
Posts: 26
Hi,
We are using Load Runner for the performance Testing of our application. We do not have java heap size monitoring tool, Oracle connections,sqls monitoring tool and also the Netword bandwidth and Latency monitoring tool when the concurrent user test execution is inprogress.

Using Load runner we are capturing the server level resources like available MBytes, Java process utilization, CPU utilization etc., we do not have license for may other counters to monitor.

Can some one please suggest us a free tool which will help us to track the JVM heap size utilization and GC etc., Network idle/usage etc., Oracle

Thanks
Ram

tim fox
Greenhorn

Joined: Oct 18, 2009
Posts: 4
One easy thing you can do is to turn on Garbage Collection stats at the JVM. If you are using OC4J, then go in to the JVM you're dealing with and get to the Server Parameters section under Administration. Once there, you can turn on GC stats and have them written to a file. Add this to the JVM parameters:

-verbose:gc -Xloggc:c:\somedirectory\log.txt

This will output heap stats that will tell you the total heap size, memory allocated before a GC, after a GC and how long the GC took. You can then download a GC viewer that will graph this data for you if you find that necessary. For the most part, we use the log file when we think there is something wrong and we just tail it to see real-time stats.

Using this method applies only a minute additional load on the JVM, unlike using a profiler.

TGF
Mp Ramkumar
Greenhorn

Joined: Apr 28, 2009
Posts: 26
Thanks Tim... Can this be used in our Performance Testing environment. Because if it uses resources considerably then our response times varies. So I am asking?

Thanks
Ram
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 254

Hi Tim,
can we do the same settings in Apache Tomcat as well? If yes then which file should I update with the line mentioned by you..


Regards
Salil Verma
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

For Tomcat, you can edit either the startup.bat (startup.sh) or catalina.bat (catalina.sh) file. Just add a line like this near the beginning:

set JAVA_OPTS=%JAVA_OPTS% -verbose:gc -Xloggc:c:\somedirectory\log.txt

or on Linux:

JAVA_OPTS="$JAVA_OPTS -verbose:gc -Xloggc:c:\somedirectory\log.txt"

JBoss In Action
Kees Jan Koster
JavaMonitor Support
Rancher

Joined: Mar 31, 2009
Posts: 251
    
    5
Dear Ram,

Have a look at Java-monitor. It is a free, on-line monitoring service. It will graph your JVM resources, as you can see in the live demo: http://java-monitor.com/livedemo.html

Java-monitor does not monitor your network, though. You'd have to use some other tool for that.

Kees Jan


Java-monitor, JVM monitoring made easy <- right here on Java Ranch
Mp Ramkumar
Greenhorn

Joined: Apr 28, 2009
Posts: 26
Thanks Kees Jan. I will publish our experiment status once we verify. We need to verify the load on the appserver during performance testing with some no. of users, due to this monitoring work.
Mp Ramkumar
Greenhorn

Joined: Apr 28, 2009
Posts: 26
Hi Guys,
We have used Jconsole with Weblogic with our product. When 100 concurrent users accessing the application we have observered the jVM usage and response times of the transactions. (When Jconsole is not used with weblogic), and (When Jconsole is used with weblogic to collect JVM details).

The response times and the server resources consumtion seems normal. No difference. Hence planning to JConsole.

Thanks to all.

Can some one suggest a good tool for Oracle monitoring. We would like to monitor Sessions, SGA, Cursors etc., We need a opensource tool.

Thanks & Regards,
Ram
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 860
With jamon you can monitor jdbc connections, exceptions, and query performance times to name a few.

http://jamonapi.sourceforge.net/#WhatsNew22


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
evident software
Greenhorn

Joined: Feb 21, 2012
Posts: 1
Java monitoring tool – deploy in minutes to analyze and manage real-time performance for critical web apps & NoSQL DBs requiring java monitoring.
For getting more detail about this tool visit:Java monitoring tool
soundar rajan
Greenhorn

Joined: May 08, 2013
Posts: 16
you can use jvisualvm and jconsole for monitoring your application. If you need to connect remote machine please refer the following link: http://visualvm.java.net/applications_remote.html
Luan Cestari
Ranch Hand

Joined: Feb 07, 2010
Posts: 162

If you are using the latest version of Oracle JVM (hotspot) , you can also use jrockit mission control to profile your application/JVM


Please, visit me for some cool tech post at www.ourdailycodes.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Monitoring Tools to Monitor JVM and Oracle Connections and Network.