• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Monitoring Tools to Monitor JVM and Oracle Connections and Network.

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 257
Hibernate Oracle Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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"
 
JavaMonitor Support
Posts: 251
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 862
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 172
Redhat Ruby C++
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Screaming fools! It's nothing more than a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic