File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

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: 484

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: 11278

The 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:
subject: Query regarding profiling the application
Similar Threads
How to avoid OutOfMemory?
Test 252: Mock exam
Smart Inspect questions
Why web applications fail in Production ??
What is the best profiler in java