This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Monitoring Tools to Monitor JVM and Oracle Connections and Network.

 
Mp Ramkumar
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 255
Hibernate Oracle Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
Kees Jan Koster
JavaMonitor Support
Rancher
Posts: 251
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mp Ramkumar
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 862
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With jamon you can monitor jdbc connections, exceptions, and query performance times to name a few.

http://jamonapi.sourceforge.net/#WhatsNew22
 
evident software
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 163
C++ Redhat Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using the latest version of Oracle JVM (hotspot) , you can also use jrockit mission control to profile your application/JVM
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic