wood burning stoves 2.0*
The moose likes Java in General and the fly likes Query regarding profiling the application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Query regarding profiling the application" Watch "Query regarding profiling the application" New topic
Forums: Java in General Other Java Products and Servers
Author

Query regarding profiling the application

Hemanth Kumar Simhadri
Ranch Hand

Joined: Apr 22, 2010
Posts: 32
I learnt about few application profiling tools like Jconsole and VisualVM. It is possible to monitor the memory usage and performance of the web application using these tools. But the problem with such kind of tools is that, one has to keep the profiler open and has to manually look at the statistical data. One has to manually save the data whenever required. I am looking for a tool which can run in background and can log the memory utilization data in to separate log files continuously at regular intervals. Can anyone let me know if there is a possibility as such.

I also require features such as creating alerts and setting up automated emails to receive when the server is down or when it is performing poor.
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 485

Interesting ideas! Sorry I don't have experience in this field, but I think there would be things like profiling API which you can use to build your solutions.


PM Me If You Want to get Urgent Help on Java Programming
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11285
    
  59

The java.lang.management API has lots of hooks into a remote JVM and find out what is going on.

Splunk and Nagios are two very common reporting and alerting tools.

Splunk is more of an ongoing tracking and reporting system (commonly used to monitor log files), and you can generate alerts based on various criteria (a particular message appears in a log file, the value reported for free memory drops below a certain value, ...).

Nagios is dedicated to monitoring and alerting based on the current status of your systems - CPU usage, memory usage, network traffic, size of log files, amount of DB transactions, ...


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query regarding profiling the application
 
Similar Threads
How to avoid OutOfMemory?
Smart Inspect questions
What is the best profiler in java
Test 252: Mock exam
Why web applications fail in Production ??